osd_server.py depends on them.
[Closes: issue172]
- -- Michael Prokop <mika@grml.org> 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 <mika@grml.org> Thu, 12 Feb 2009 20:49:56 +0100
grml-scripts (1.1.16) unstable; urgency=low
-
%.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))