X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=21100c9f800837d94020eb208d221eb670c39cad;hb=b12ff1eb07107f85073973105e4a138db3d406fb;hp=6984546f5a671f5935ce978db0be66f81b924266;hpb=ba635891c07e76745922a2ffa0d8620a9c6acf78;p=mimedecode.git diff --git a/Makefile b/Makefile index 6984546..21100c9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ -VERSION=$(shell python -c "from mimedecode import _version; print _version") +VERSION=$(shell python -c "from mimedecode import __version__; print __version__") +.PHONY: all all: docs sdist DISTFILES = mimedecode.py \ @@ -20,7 +21,7 @@ sdist: dist/mimedecode-$(VERSION).tar.gz .PHONY: dist dist/mimedecode-$(VERSION).tar.gz: $(DISTFILES) - umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist + umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist --formats=bztar .PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html