X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=docs%2FMakefile;fp=docs%2FMakefile;h=e4b5a9501ac1b0829c0674fc585703cb7b478698;hp=0000000000000000000000000000000000000000;hb=229a51dfda4d619c47fb4b0ff94d4d952f61e62a;hpb=1a06f3f65adef0fdd432aad11f479020630778a5 diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..e4b5a95 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,22 @@ +all: doc + +doc: doc_man doc_html + +doc_html: html-stamp + +html-stamp: grml-live.txt + asciidoc -b xhtml11 grml-live.txt + touch html-stamp + +doc_man: man-stamp + +man-stamp: grml-live.txt + asciidoc -d manpage -b docbook grml-live.txt + xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml + 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