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 \
11 release-notes-1.1.1.html \
12 release-notes-1.1.html
14 RELNOTES_XSL=$(RELNOTES:.html=.xsl)
15 HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html $(RELNOTES)
16 PDF=altusmetrum.pdf altos.pdf telemetry.pdf companion.pdf micropeak.pdf
18 HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl
19 FOSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
21 IMAGES=telemetrum.svg telemini.svg
23 .SUFFIXES: .xsl .html .fo .pdf
25 XSLTFLAGS=--stringparam section.autolabel 1 --xinclude
28 xsltproc $(XSLTFLAGS) -o $@ $(HTMLSTYLE) $*.xsl
31 xsltproc $(XSLTFLAGS) -o $@ $(FOSTYLE) $*.xsl
41 cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
42 (cd /home/bdale/web/altusmetrum ; \
43 git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
44 echo "update docs" | \
45 git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
49 rm -f $(HTML) $(PDF) *.fo
52 rm -f $(HTML) $(PDF) *.fo
54 altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
55 altusmetrum.fo: $(RELNOTES_XSL) $(IMAGES)
57 indent: altusmetrum.xsl
58 xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new