28,7 → 28,7 |
|
all: $(PKG).1 |
@echo |
@echo "############################################" |
@echo "########################################################" |
@echo "# TARGETS:" |
@echo "# install" |
@echo "# uninstall" |
38,7 → 38,8 |
@echo "# clean" |
@echo "# distclean" |
@echo "# testman Displays compiled manpage" |
@echo "############################################" |
@echo "# test_min_python Find min. Python version required" |
@echo "########################################################" |
@echo |
|
testman: |
55,6 → 56,9 |
@echo PYTHONROOT=$(PYTHONROOT) |
@echo INSTALL_LAYOUT=$(INSTALL_LAYOUT) |
|
test_min_python: pyqver2.py |
python pyqver2.py -v -m 2.4 src/$(PKG).py src/$(PKG)/*.py |
|
install: setup.py |
$(DUSETUP) install --prefix=$(DESTDIR)$(prefix) $(INSTALL_LAYOUT) |
|
76,7 → 80,7 |
|
distclean: clean |
-$(RM) $(PKGVER).tar.gz $(PKGVER).zip |
-$(RM) -r dist build $(PKGVER)/ |
-$(RM) -r dist build $(PKGVER)/ pyqver2.py |
|
dist: tarball zip |
-$(RM) -r $(PKGVER) |
124,6 → 128,9 |
@cat "$<" | sed -e 's/@VERSION@/$(VERSION)/g' \ |
-e 's/@PACKAGER@/$(PACKAGER)/g' > "$@" |
|
pyqver2.py: |
wget https://github.com/ghewgill/pyqver/raw/master/pyqver2.py |
|
exe: |
python win/setup_py2exe.py py2exe |
|