X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=docs%2FMakefile;h=e4b5a9501ac1b0829c0674fc585703cb7b478698;hp=4fb6d5e768e951ad6aa38fb0e50bec95e9b2e587;hb=357aeccc20289a8b31a4d50ac718b9acc4e65c22;hpb=f3a39c0e8073ead55cdcec7fba806249c8140b75 diff --git a/docs/Makefile b/docs/Makefile index 4fb6d5e..e4b5a95 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,7 +1,6 @@ all: doc -# doc: doc_man doc_html -doc: doc_html +doc: doc_man doc_html doc_html: html-stamp @@ -13,17 +12,11 @@ doc_man: man-stamp man-stamp: grml-live.txt asciidoc -d manpage -b docbook grml-live.txt - sed -i 's///' grml-live.xml xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml - # ugly hack to avoid duplicate empty lines in manpage - # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! - cp grml-live.8 grml-live.8.tmp - uniq grml-live.8.tmp > grml-live.8 - rm grml-live.8.tmp touch man-stamp +online: doc_html + scp grml-live.html grml:/var/www/grml/grml-live/index.html + clean: rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp - -online: - scp grml-live.html grml:/var/www/grml/grml-live/index.html