X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile;h=e840ec41781f73c9c6628acd4e0ace50e5069150;hp=d3293900227cec06b490a8ebc6031d106cda2b86;hb=59ff9180f11063c257746b895a167179b3a4ff7c;hpb=b41e617080fe825f7810ee5eee52ea37f7618ec6 diff --git a/doc/Makefile b/doc/Makefile index d3293900..e840ec41 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,24 +2,32 @@ # http://docbook.sourceforge.net/release/xsl/current/README # -all: telemetrum.html telemetrum.pdf +all: telemetrum-doc.html telemetrum-doc.pdf -telemetrum.html: telemetrum.xsl - xsltproc -o telemetrum.html \ - /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \ - telemetrum.xsl +publish: all + cp telemetrum-doc.html \ + telemetrum-doc.pdf /home/bdale/web/altusmetrum/TeleMetrum/doc/ + (cd /home/bdale/web/altusmetrum ; echo "update docs" | git commit -F - /home/bdale/web/altusmetrum/TeleMetrum/doc/* ; git push) -telemetrum.fo: telemetrum.xsl - xsltproc -o telemetrum.fo \ - /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl \ - telemetrum.xsl -telemetrum.pdf: telemetrum.fo - fop -fo telemetrum.fo -pdf telemetrum.pdf +telemetrum-doc.html: telemetrum-doc.xsl + xsltproc -o telemetrum-doc.html \ + /usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl \ + telemetrum-doc.xsl + +telemetrum-doc.fo: telemetrum-doc.xsl + xsltproc -o telemetrum-doc.fo \ + /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl \ + telemetrum-doc.xsl + +telemetrum-doc.pdf: telemetrum-doc.fo + fop -fo telemetrum-doc.fo -pdf telemetrum-doc.pdf clean: - rm -f telemetrum.html telemetrum.pdf telemetrum.fo + rm -f telemetrum-doc.html telemetrum-doc.pdf telemetrum-doc.fo + +distclean: clean -indent: telemetrum.xsl - xmlindent -i 2 < telemetrum.xsl > telemetrum.new +indent: telemetrum-doc.xsl + xmlindent -i 2 < telemetrum-doc.xsl > telemetrum-doc.new