]> git.phdru.name Git - mimedecode.git/blob - Makefile
Clean.
[mimedecode.git] / Makefile
1
2 all: docs sdist
3
4 DISTFILES = mimedecode.py \
5 setup.py \
6 Makefile \
7 Makefile.sgmlt \
8 Makefile.4xslt \
9 MANIFEST.in \
10 ANNOUNCE \
11 mimedecode.docbook \
12 mimedecode.html \
13 mimedecode.man \
14 mimedecode.txt
15
16 .PHONY: sdist
17 sdist: dist/mimedecode-2.1.0.tar.gz
18
19 .PHONY: dist
20 dist/mimedecode-2.1.0.tar.gz: $(DISTFILES)
21         umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist
22
23 .PHONY: docs
24 docs: mimedecode.man mimedecode.txt mimedecode.html
25
26 include Makefile.4xslt
27
28
29 CLEANFILES = *.py[co] MANIFEST
30
31 .PHONY: clean
32 clean:
33         rm -f $(CLEANFILES)
34
35 .PHONY: distclean
36 distclean: clean
37         rm -rf dist