X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=docs%2FMakefile;h=ba8aa4e4001b4db3c2023d6cba1206b6ea747987;hp=a64b80b00b05efe15c4ac55750a6277e778bf796;hb=8cf1f25a072cb80a9d4fa821db2ff7ffab179677;hpb=29cf2388a5194dfa89cbdb8440b98251f2384bf6 diff --git a/docs/Makefile b/docs/Makefile index a64b80b..ba8aa4e 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,6 @@ all: doc -doc: doc_man doc_html +doc: doc_man doc_html doc_epub doc_pdf doc_html: html-stamp @@ -21,10 +21,25 @@ man-stamp: grml-live.txt grml-live-remaster.txt xsltproc /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-remaster.html grml-live-remaster.xml grml-live-remaster.8 - rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp - rm -rf grml-live-db.html grml-live-db.xml grml-live-db.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