X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=c4c2827a6fe462a19178755a0473a2c7866dfcd0;hb=ef1fdd28011fba3b76d63b8cd7dfb0ae22064525;hp=21100c9f800837d94020eb208d221eb670c39cad;hpb=5a24c51b05534a6714db0d923ae6a74cd8ad7085;p=mimedecode.git diff --git a/Makefile b/Makefile index 21100c9..c4c2827 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,10 @@ -VERSION=$(shell python -c "from mimedecode import __version__; print __version__") - .PHONY: all -all: docs sdist - -DISTFILES = mimedecode.py \ -setup.py \ -Makefile \ -Makefile.sgmlt \ -Makefile.4xslt \ -MANIFEST.in \ -ANNOUNCE \ -mimedecode.docbook \ -mimedecode.html \ -mimedecode.man \ -mimedecode.txt +all: distr docs -.PHONY: sdist -sdist: dist/mimedecode-$(VERSION).tar.gz - -.PHONY: dist -dist/mimedecode-$(VERSION).tar.gz: $(DISTFILES) - umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist --formats=bztar +.PHONY: distr +distr: + ./mk-distr .PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html @@ -34,7 +17,3 @@ CLEANFILES = *.py[co] MANIFEST .PHONY: clean clean: rm -f $(CLEANFILES) - -.PHONY: distclean -distclean: clean - rm -rf dist