2 # http://docbook.sourceforge.net/release/xsl/current/README
6 release-notes-0.7.1.html \
7 release-notes-0.8.html \
8 release-notes-0.9.html \
9 release-notes-0.9.2.html \
10 release-notes-1.0.1.html
12 RELNOTES_XSL=$(RELNOTES:.html=.xsl)
13 HTML=altusmetrum.html altos.html telemetry.html companion.html $(RELNOTES)
14 PDF=altusmetrum.pdf altos.pdf telemetry.pdf companion.pdf
16 HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl
17 FOSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
20 .SUFFIXES: .xsl .html .fo .pdf
22 XSLTFLAGS=--stringparam section.autolabel 1 --xinclude
25 xsltproc $(XSLTFLAGS) -o $@ $(HTMLSTYLE) $*.xsl
28 xsltproc $(XSLTFLAGS) -o $@ $(FOSTYLE) $*.xsl
38 cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
39 (cd /home/bdale/web/altusmetrum ; \
40 git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
41 echo "update docs" | \
42 git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
46 rm -f $(HTML) $(PDF) *.fo
49 rm -f $(HTML) $(PDF) *.fo
51 altusmetrum.html: $(RELNOTES_XSL)
52 altusmetrum.fo: $(RELNOTES_XSL)
54 indent: altusmetrum.xsl
55 xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new