./mk-distr
.PHONY: docs
-docs: mimedecode.man mimedecode.txt mimedecode.html
+docs: mimedecode.html mimedecode.man mimedecode.txt
include Makefile.xsltproc
mimedecode.html: mimedecode.docbook Makefile.4xslt
4xslt $< $(DOCBOOK_XSL)/html/docbook.xsl >$@
-mimedecode.txt: mimedecode.html Makefile.4xslt
- elinks -dump $< >$@
-
mimedecode.man: mimedecode.docbook Makefile.4xslt
4xslt $< $(DOCBOOK_XSL)/manpages/docbook.xsl
mv mimedecode.py.1 $@
+
+mimedecode.txt: mimedecode.html Makefile.4xslt
+ elinks -dump $< >$@
mv mimedecode/mimedecode.py.html mimedecode.html
rmdir mimedecode
-mimedecode.txt: mimedecode.docbook Makefile.sgmlt
- sgmltools -b txt $<
-
mimedecode.man: mimedecode.docbook Makefile.sgmlt
docbook-to-man $< >$@
+
+mimedecode.txt: mimedecode.docbook Makefile.sgmlt
+ sgmltools -b txt $<
mimedecode.html: mimedecode.docbook Makefile.xsltproc
xsltproc $(DOCBOOK_XSL)/html/docbook.xsl $< >$@
-mimedecode.txt: mimedecode.html Makefile.xsltproc
- elinks -dump $< >$@
-
mimedecode.man: mimedecode.docbook Makefile.xsltproc
xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl $<
mv mimedecode.py.1 $@
+
+mimedecode.txt: mimedecode.html Makefile.xsltproc
+ elinks -dump $< >$@