X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=docs%2FMakefile;h=3cd60ac3bbbd75b833ca59dab62db22c0e87e7a0;hb=392eec17fbad9a734a2930823d007c7ea13c56a5;hp=f5c1319fe2e6c4e1d96d8296915ffc7c0be67aa1;hpb=60068d0a01a543f98477530e538420365663cccb;p=grml-network.git diff --git a/docs/Makefile b/docs/Makefile index f5c1319..3cd60ac 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,4 +1,5 @@ install_ = install +name_ = grml-network etc = ${DESTDIR}/etc/ usr = ${DESTDIR}/usr @@ -17,10 +18,12 @@ man1 = $(usr)/share/man/man1/ 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 + # 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-addtun.8 +MANPAGES = grml-vnet.8 all: doc @@ -41,5 +44,5 @@ install: all clean: @for i in $(MANPAGES); do \ - rm -fv $$i.html $$i.xml $$i.gz $$i; done + rm -f $$i.html $$i.xml $$i.gz $$i; done