]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Version 2.2.1: add mk-distr helper
[mimedecode.git] / Makefile
index 1a84be3763197c4732f8ad5472fc943bf7cece2c..c4c2827a6fe462a19178755a0473a2c7866dfcd0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,24 +1,10 @@
 
-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: sdist
-sdist: dist/mimedecode-2.1.0.tar.gz
-
-.PHONY: dist
-dist/mimedecode-2.1.0.tar.gz: $(DISTFILES)
-       umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist
+.PHONY: distr
+distr:
+       ./mk-distr
 
 .PHONY: docs
 docs: mimedecode.man mimedecode.txt mimedecode.html
@@ -31,7 +17,3 @@ CLEANFILES = *.py[co] MANIFEST
 .PHONY: clean
 clean:
        rm -f $(CLEANFILES)
-
-.PHONY: distclean
-distclean: clean
-       rm -rf dist