and a few more distclean fixes
[fw/altos] / doc / Makefile
index 55b7a548229874fb287e0d9f2b99ec74b86472bc..e840ec41781f73c9c6628acd4e0ace50e5069150 100644 (file)
@@ -2,24 +2,32 @@
 #      http://docbook.sourceforge.net/release/xsl/current/README
 #
 
 #      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 \
+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-doc.html:   telemetrum-doc.xsl
+       xsltproc -o telemetrum-doc.html \
                /usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl \
                /usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl \
-               telemetrum.xsl
+               telemetrum-doc.xsl
 
 
-telemetrum.fo: telemetrum.xsl
-       xsltproc -o telemetrum.fo \
+telemetrum-doc.fo:     telemetrum-doc.xsl
+       xsltproc -o telemetrum-doc.fo \
                /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl \
                /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl \
-               telemetrum.xsl
+               telemetrum-doc.xsl
 
 
-telemetrum.pdf:        telemetrum.fo
-       fop -fo telemetrum.fo -pdf telemetrum.pdf
+telemetrum-doc.pdf:    telemetrum-doc.fo
+       fop -fo telemetrum-doc.fo -pdf telemetrum-doc.pdf
 
 clean:
 
 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