]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Version 2.2.1: add mk-distr helper
[mimedecode.git] / Makefile
index c27f3a27b88f219576ba0590c070df1712290bc1..c4c2827a6fe462a19178755a0473a2c7866dfcd0 100644 (file)
--- 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
-
-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