X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=8586e194154156afb951be559efc7231d67de238;hb=392df88f9e7bef24b191025f2ad578abaea6aa99;hp=1a84be3763197c4732f8ad5472fc943bf7cece2c;hpb=c590ad79f77cea9e95c98eb915b7c898048d8c8f;p=mimedecode.git diff --git a/Makefile b/Makefile index 1a84be3..8586e19 100644 --- a/Makefile +++ b/Makefile @@ -1,37 +1,27 @@ -all: docs sdist - -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: all +all: docs test clean distr + .PHONY: docs -docs: mimedecode.man mimedecode.txt mimedecode.html +docs: mimedecode.html mimedecode.man mimedecode.txt include Makefile.xsltproc +.PHONY: distr +distr: + ./mk-distr + + +.PHONY: test +test: + make -C test + + CLEANFILES = *.py[co] MANIFEST .PHONY: clean clean: rm -f $(CLEANFILES) - -.PHONY: distclean -distclean: clean - rm -rf dist + make -C test clean