4,7 → 4,7 |
DESTDIR:= |
|
PKG=relevation |
VERSION=$(shell printf 'import relevation\nprint relevation.__version__' | python -) |
VERSION=$(shell printf 'import relevation\nprint relevation.__version__' | python - && $(RM) $(PKG).pyc) |
PKGVER=$(PKG)-$(VERSION) |
|
INSTALLROOT=$(DESTDIR)$(prefix) |
61,13 → 61,16 |
-mkdir $(PKGVER) |
tar c . $(TAR_EXCLUDES) | ( cd $(PKGVER) && tar x ) |
|
dist: is_release distclean package_copy |
tar cv $(PKGVER) | gzip -c9 > $(PKGVER).tar.gz |
dist: $(PKGVER).tar.gz $(PKGVER).zip |
-$(RM) -r $(PKGVER) |
|
zip: is_release distclean manpage.pdf manpage.html package_copy |
$(PKGVER).tar.gz: is_release distclean package_copy |
tar cv $(PKGVER) | gzip -c9 > $(PKGVER).tar.gz |
|
zip: $(PKGVER).zip |
|
$(PKGVER).zip: is_release distclean manpage.pdf manpage.html package_copy |
zip -9 -r $(PKGVER).zip $(PKGVER) |
-$(RM) -r $(PKGVER) |
|
exe: |
python setup_py2exe.py py2exe |