]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Version 2.3.1: update documentation
[mimedecode.git] / Makefile
index a2c2b783356b8eb03a1742b76fd904c36009a827..d748c00409cd6758f91229caddf1ed8485319ad6 100644 (file)
--- 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
+.PHONY: distr
+distr:
+       ./mk-distr
 
-sdist: dist/mimedecode-2.0.0d.tar.gz
-       touch sdist
+.PHONY: docs
+docs: mimedecode.html mimedecode.man mimedecode.txt
 
-dist/mimedecode-2.0.0d.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