X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=6f0214cc2b4cba05acada8c1ecbf88640fb1ca9b;hb=c4a950a30dfb2ae320a2b718e5f326e10f6122c4;hp=501efb64819e4fcb13faacf769609477b5db30cd;hpb=4f1fba5115cee2ffc2ab769511414a5613d507d5;p=mimedecode.git diff --git a/Makefile b/Makefile index 501efb6..6f0214c 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,24 @@ -VERSION=$(shell python -c "from mimedecode import _version; print _version") +VERSION=$(shell python -c "from __version__ import __version__; print __version__") +.PHONY: all all: docs sdist -DISTFILES = mimedecode.py \ -setup.py \ +DISTFILES = \ +ANNOUNCE \ +INSTALL.txt \ +MANIFEST.in \ Makefile \ -Makefile.sgmlt \ Makefile.4xslt \ -MANIFEST.in \ -ANNOUNCE \ +Makefile.sgmlt \ +Makefile.xsltproc \ +__version__.py \ mimedecode.docbook \ mimedecode.html \ mimedecode.man \ -mimedecode.txt +mimedecode.py \ +mimedecode.txt \ +setup.py .PHONY: sdist sdist: dist/mimedecode-$(VERSION).tar.gz