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