From: Oleg Broytman Date: Mon, 28 Sep 2009 20:08:07 +0000 (+0000) Subject: Use xsltproc. X-Git-Tag: v2.3.2~79 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c590ad79f77cea9e95c98eb915b7c898048d8c8f;p=mimedecode.git Use xsltproc. git-svn-id: file:///home/phd/archive/SVN/mimedecode@17 a778b35f-2f12-0410-a9f6-9b1356d76ba6 --- diff --git a/Makefile b/Makefile index 58d8bcf..1a84be3 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ dist/mimedecode-2.1.0.tar.gz: $(DISTFILES) .PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html -include Makefile.4xslt +include Makefile.xsltproc CLEANFILES = *.py[co] MANIFEST diff --git a/Makefile.xsltproc b/Makefile.xsltproc new file mode 100644 index 0000000..71e911d --- /dev/null +++ b/Makefile.xsltproc @@ -0,0 +1,11 @@ +DOCBOOK_XSL=/usr/local/src/DocBook/docbook-xsl + +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 $@ diff --git a/mimedecode.docbook b/mimedecode.docbook index d358569..c7e96e8 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -308,7 +308,7 @@ the program will recode the message to the wrong charset. COPYRIGHT - Copyright (C) 2001-2004 PhiloSoft Design + Copyright (C) 2001-2009 PhiloSoft Design