From: Michael Prokop Date: Thu, 12 Feb 2009 19:50:38 +0000 (+0100) Subject: Adjust Makefile to get rid of '.sp' sequences in asciidoc manpages. [Closes: issue567] X-Git-Tag: v1.1.17^0 X-Git-Url: http://git.grml.org/?p=grml-scripts-core.git;a=commitdiff_plain;h=7650d33c06706207a60a174c112dafb8875d630d Adjust Makefile to get rid of '.sp' sequences in asciidoc manpages. [Closes: issue567] --- diff --git a/debian/changelog b/debian/changelog index e7ecb29..39160b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,7 +7,11 @@ grml-scripts (1.1.17) unstable; urgency=low osd_server.py depends on them. [Closes: issue172] - -- Michael Prokop Thu, 12 Feb 2009 19:26:04 +0100 + [ Michael Prokop ] + * Adjust Makefile to get rid of '.sp' sequences in asciidoc + manpages. [Closes: issue567] + + -- Michael Prokop Thu, 12 Feb 2009 20:49:56 +0100 grml-scripts (1.1.16) unstable; urgency=low diff --git a/doc/Makefile b/doc/Makefile index ff2d4ed..8bfac8c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,9 +1,13 @@ - %.html : %.txt ; asciidoc -b xhtml11 $^ %.gz : %.txt ; - a2x -f manpage $^ 2>&1 |grep -v '^Note: ' >&2 + #a2x -f manpage $^ 2>&1 |grep -v '^Note: ' >&2 + #gzip -f --best $(patsubst %.txt,%, $^) + asciidoc -d manpage -b docbook $^ + xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $(patsubst %.txt,%.xml, $^) + # try to get rid of ".sp" sequences, see http://bts.grml.org/grml/issue567 + sed -i 's/\.sp//' $(patsubst %.txt,%, $^) gzip -f --best $(patsubst %.txt,%, $^) MANPAGES = $(patsubst %.txt,%,$(wildcard *.txt))