significant update
[fw/altos] / doc / Makefile
index d3293900227cec06b490a8ebc6031d106cda2b86..f8048dce025ee7483a56882627ee16b8015e80ab 100644 (file)
@@ -2,24 +2,30 @@
 #      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
 
-indent:                telemetrum.xsl
-       xmlindent -i 2 < telemetrum.xsl > telemetrum.new
+indent:                telemetrum-doc.xsl
+       xmlindent -i 2 < telemetrum-doc.xsl > telemetrum-doc.new