]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Add .gitignore
[mimedecode.git] / Makefile
index 6984546f5a671f5935ce978db0be66f81b924266..d9ad6972b84884445a64b3acbe5cb8536db2ca63 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 
-VERSION=$(shell python -c "from mimedecode import _version; print _version")
+VERSION=$(shell python -c "from mimedecode import __version__; print __version__")
 
 all: docs sdist
 
@@ -20,7 +20,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