X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=72fbf563e938dae77d230cfd207691ae164059e5;hb=HEAD;hp=ff2d4ed99b6bb8269e6953d48dc55b83837c2ac1;hpb=75e9858eb6ef123cbc691953a4c68059818b9af3;p=grml-scripts.git diff --git a/doc/Makefile b/doc/Makefile index ff2d4ed..72fbf56 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 --novalid --nonet /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))