X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=b6e12936daa64095475585aff7274abfa766f16c;hb=9c35fa7761509941014db31c46ad7a6e5a6e8817;hp=a2c2b783356b8eb03a1742b76fd904c36009a827;hpb=27550cf12d5e7e50f882e53e5e5a632e3758c667;p=mimedecode.git diff --git a/Makefile b/Makefile index a2c2b78..b6e1293 100644 --- a/Makefile +++ b/Makefile @@ -1,34 +1,19 @@ -all: docs sdist +.PHONY: all +all: docs distr -DISTFILES = mimedecode.py \ -mimedecode1.py \ -setup.py \ -Makefile \ -Makefile.sgmlt \ -Makefile.4xslt \ -MANIFEST.in \ -ANNOUNCE \ -mimedecode.docbook \ -mimedecode.html \ -mimedecode.man \ -mimedecode.txt +.PHONY: docs +docs: mimedecode.html mimedecode.man mimedecode.txt -sdist: dist/mimedecode-2.0.0d.tar.gz - touch sdist +include Makefile.xsltproc -dist/mimedecode-2.0.0d.tar.gz: $(DISTFILES) - umask 022 && python setup.py sdist +.PHONY: distr +distr: + ./mk-distr -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