]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Cleanup: Fix flake8 E128 continuation line under-indented for visual indent
[mimedecode.git] / Makefile
index cc1ddb8a274557d2f18820cc9f5817045b01e794..5ba230c26837f1f28510a2b851691e7fcdc889d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,34 +1,27 @@
 
-all: docs sdist
+.PHONY: all
+all: docs test clean distr
 
-DISTFILES = mimedecode.py \
-mimedecode1.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
+.PHONY: docs
+docs: mimedecode.html mimedecode.man mimedecode.txt
 
-dist/mimedecode-2.1.0.tar.gz: $(DISTFILES)
-       umask 022 && python setup.py sdist
+include Makefile.xsltproc
 
-docs: mimedecode.man mimedecode.txt mimedecode.html
 
-include Makefile.4xslt
+.PHONY: distr
+distr:
+       ./mk-distr
 
 
-CLEANFILES = mimedecode.pyc MANIFEST sdist
+.PHONY: test
+test:
+       make -C test all
 
+
+CLEANFILES = *.py[co] MANIFEST
+
+.PHONY: clean
 clean:
        rm -f $(CLEANFILES)
-
-distclean: clean
-       rm -rf dist sdist
+       make -C test clean