]> git.phdru.name Git - mimedecode.git/commitdiff
Use xsltproc.
authorOleg Broytman <phd@phdru.name>
Mon, 28 Sep 2009 20:08:07 +0000 (20:08 +0000)
committerOleg Broytman <phd@phdru.name>
Mon, 28 Sep 2009 20:08:07 +0000 (20:08 +0000)
git-svn-id: file:///home/phd/archive/SVN/mimedecode@17 a778b35f-2f12-0410-a9f6-9b1356d76ba6

Makefile
Makefile.xsltproc [new file with mode: 0644]
mimedecode.docbook

index 58d8bcfdab1515a70d5707dba765655df6aeea7f..1a84be3763197c4732f8ad5472fc943bf7cece2c 100644 (file)
--- 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 (file)
index 0000000..71e911d
--- /dev/null
@@ -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 $@
index d358569fd2049dafd456f3e6b8e6153f6eb2b450..c7e96e82d0192c1c50d9def764427cb1c1b97581 100644 (file)
@@ -308,7 +308,7 @@ the program will recode the message to the wrong charset.
 <refsect1>
 <title>COPYRIGHT</title>
 <para>
-   Copyright (C) 2001-2004 PhiloSoft Design
+   Copyright (C) 2001-2009 PhiloSoft Design
 </para>
 </refsect1>