From: Michael Prokop Date: Thu, 2 Apr 2020 16:34:14 +0000 (+0200) Subject: Get rid of docbook-xsl workaround regarding duplicate empty lines X-Git-Tag: v0.18.0~1 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=263374b8b55e98a468f13192eeec97adbf48f3d0 Get rid of docbook-xsl workaround regarding duplicate empty lines This doesn't seem to be no longer a problem --- diff --git a/Makefile b/Makefile index 2019af8..6951391 100644 --- a/Makefile +++ b/Makefile @@ -16,20 +16,10 @@ man-stamp: grml2usb.8.txt grml2iso.8.txt asciidoc -d manpage -b docbook grml2usb.8.txt sed -i 's///' grml2usb.8.xml xsltproc --novalid --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml - # ugly hack to avoid duplicate empty lines in manpage - # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! - cp grml2usb.8 grml2usb.8.tmp - uniq grml2usb.8.tmp > grml2usb.8 - rm grml2usb.8.tmp # grml2iso: asciidoc -d manpage -b docbook grml2iso.8.txt sed -i 's///' grml2iso.8.xml xsltproc --novalid --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso.8.xml - # ugly hack to avoid duplicate empty lines in manpage - # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! - cp grml2iso.8 grml2iso.8.tmp - uniq grml2iso.8.tmp > grml2iso.8 - rm grml2iso.8.tmp # we're done touch man-stamp