Fix manpage handling of xsltproc 0.1.17
authorMichael Prokop <mika@grml.org>
Thu, 6 Dec 2007 23:05:05 +0000 (00:05 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 6 Dec 2007 23:05:05 +0000 (00:05 +0100)
debian/changelog
docs/Makefile

index f89425d..ffd89e9 100644 (file)
@@ -1,3 +1,9 @@
+grml-network (0.1.17) unstable; urgency=low
+
+  * Fix manpage handling of xsltproc.
+
+ -- Michael Prokop <mika@grml.org>  Fri, 07 Dec 2007 00:04:53 +0100
+
 grml-network (0.1.16) unstable; urgency=low
 
   * Split Suggests into Suggests and Recommends.
index a98def2..3cd60ac 100644 (file)
@@ -18,6 +18,8 @@ man1 = $(usr)/share/man/man1/
        asciidoc -d manpage -b docbook $^
        #sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
        xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` &>/dev/null
+       # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
+       sed -i 's/\.sp//' `echo $^ | sed -e 's/.txt//'`
        gzip -f --best `echo $^ |sed -e 's/.txt//'`