X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=c4c2827a6fe462a19178755a0473a2c7866dfcd0;hb=381d4ced8c1ba170a9cd63ec31d2b3645c33f2d8;hp=cc1ddb8a274557d2f18820cc9f5817045b01e794;hpb=06204515308656fb4f08ebb96e636610ab7b7902;p=mimedecode.git diff --git a/Makefile b/Makefile index cc1ddb8..c4c2827 100644 --- a/Makefile +++ b/Makefile @@ -1,34 +1,19 @@ -all: docs sdist +.PHONY: all +all: distr docs -DISTFILES = mimedecode.py \ -mimedecode1.py \ -setup.py \ -Makefile \ -Makefile.sgmlt \ -Makefile.4xslt \ -MANIFEST.in \ -ANNOUNCE \ -mimedecode.docbook \ -mimedecode.html \ -mimedecode.man \ -mimedecode.txt - -sdist: dist/mimedecode-2.1.0.tar.gz - touch sdist - -dist/mimedecode-2.1.0.tar.gz: $(DISTFILES) - umask 022 && python setup.py sdist +.PHONY: distr +distr: + ./mk-distr +.PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html -include Makefile.4xslt +include Makefile.xsltproc -CLEANFILES = mimedecode.pyc MANIFEST sdist +CLEANFILES = *.py[co] MANIFEST +.PHONY: clean clean: rm -f $(CLEANFILES) - -distclean: clean - rm -rf dist sdist