]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Version 2.3.1: update documentation
[mimedecode.git] / Makefile
index 6f80b91b44f3bf127f3c80e23ab1909cfe91b379..d748c00409cd6758f91229caddf1ed8485319ad6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,34 +1,13 @@
 
-VERSION=$(shell python -c "from __version__ import __version__; print __version__")
-
 .PHONY: all
-all: docs sdist
-
-DISTFILES = \
-ANNOUNCE \
-INSTALL.txt \
-MANIFEST.in \
-Makefile \
-Makefile.4xslt \
-Makefile.sgmlt \
-Makefile.xsltproc \
-mimedecode.docbook \
-mimedecode.html \
-mimedecode.man \
-mimedecode.py \
-mimedecode.txt \
-mimedecode_version.py \
-setup.py
+all: distr docs
 
-.PHONY: sdist
-sdist: dist/mimedecode-$(VERSION).tar.gz
-
-.PHONY: dist
-dist/mimedecode-$(VERSION).tar.gz: $(DISTFILES)
-       umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist --formats=bztar
+.PHONY: distr
+distr:
+       ./mk-distr
 
 .PHONY: docs
-docs: mimedecode.man mimedecode.txt mimedecode.html
+docs: mimedecode.html mimedecode.man mimedecode.txt
 
 include Makefile.xsltproc
 
@@ -38,7 +17,3 @@ CLEANFILES = *.py[co] MANIFEST
 .PHONY: clean
 clean:
        rm -f $(CLEANFILES)
-
-.PHONY: distclean
-distclean: clean
-       rm -rf dist