]> git.phdru.name Git - mimedecode.git/blobdiff - Makefile
Use m_lib.defenc instead of m_lib; install it from PyPI
[mimedecode.git] / Makefile
index c4c2827a6fe462a19178755a0473a2c7866dfcd0..5ba230c26837f1f28510a2b851691e7fcdc889d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,22 @@
 
 .PHONY: all
-all: distr docs
+all: docs test clean distr
+
+
+.PHONY: docs
+docs: mimedecode.html mimedecode.man mimedecode.txt
+
+include Makefile.xsltproc
+
 
 .PHONY: distr
 distr:
        ./mk-distr
 
-.PHONY: docs
-docs: mimedecode.man mimedecode.txt mimedecode.html
 
-include Makefile.xsltproc
+.PHONY: test
+test:
+       make -C test all
 
 
 CLEANFILES = *.py[co] MANIFEST
@@ -17,3 +24,4 @@ CLEANFILES = *.py[co] MANIFEST
 .PHONY: clean
 clean:
        rm -f $(CLEANFILES)
+       make -C test clean