X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=docs%2FMakefile;h=e89b71c0ab685bd1863b2cb674ebcf350105d3d4;hb=a27dae3452b92f50df9bab9317365f585e66c926;hp=a98def233cb8ba85656ff2f172f01d5a2d99d8cd;hpb=c1a2e60ccc51e1f658def184c3371fe41500c957;p=grml-network.git diff --git a/docs/Makefile b/docs/Makefile index a98def2..e89b71c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -17,11 +17,13 @@ man1 = $(usr)/share/man/man1/ %.gz : %.txt ; asciidoc -d manpage -b docbook $^ #sed -i 's///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 + xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` + # 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//'` -MANPAGES = grml-vnet.8 +MANPAGES = grml-sniff.8 grml-vnet.8 all: doc