X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=docs%2FMakefile;h=f27c34197c5bf240fc4128d757f7c23981acf00b;hp=5dc4b840f14630f50f86335f17162307a07179f7;hb=b97721f7f383f030396fa41bab2c80e5151cdda1;hpb=8dfcd204e18d0a36b0f75cf622c24ad447e9ca1f diff --git a/docs/Makefile b/docs/Makefile index 5dc4b84..f27c341 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -4,19 +4,42 @@ doc: doc_man doc_html doc_html: html-stamp -html-stamp: grml-live.txt - asciidoc -b xhtml11 -a icons grml-live.txt +html-stamp: grml-live.txt grml-live-remaster.txt grml-live-db.txt + asciidoc -b xhtml11 -a icons -a toc -a numbered grml-live.txt + asciidoc -b xhtml11 -a icons grml-live-remaster.txt + asciidoc -b xhtml11 -a icons grml-live-db.txt touch html-stamp doc_man: man-stamp -man-stamp: grml-live.txt +man-stamp: grml-live.txt grml-live-remaster.txt asciidoc -d manpage -b docbook grml-live.txt - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml + xsltproc --novalid /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml + asciidoc -d manpage -b docbook grml-live-remaster.txt + xsltproc --novalid /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live-remaster.xml + asciidoc -d manpage -b docbook grml-live-db.txt + xsltproc --novalid /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live-db.xml touch man-stamp -online: doc_html +doc_epub: epub-stamp + +epub-stamp: + a2x --icons -a toc -a toclevels=3 -a docinfo -f epub grml-live.txt + touch epub-stamp + +doc_pdf: pdf-stamp + +pdf-stamp: + a2x --icons -a toc -a toclevels=3 -a docinfo -f pdf grml-live.txt + touch pdf-stamp + +online: doc_html doc_epub doc_pdf scp grml-live.html grml:/var/www/grml/grml-live/index.html + scp grml-live.pdf grml:/var/www/grml/grml-live/ + scp grml-live.epub grml:/var/www/grml/grml-live/ clean: - rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp + rm -f grml-live-remaster.html grml-live-remaster.xml grml-live-remaster.8 + rm -f grml-live.html grml-live.xml grml-live.8 grml-live.epub grml-live.pdf + rm -f grml-live-db.html grml-live-db.xml grml-live-db.8 + rm -f html-stamp man-stamp epub-stamp pdf-stamp