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.html \
12 release-notes-1.1.1.html \
13 release-notes-1.2.html \
14 release-notes-1.2.1.html \
15 release-notes-1.3.html \
16 release-notes-1.3.1.html \
17 release-notes-1.3.2.html
22 configure-altimeter.png \
23 configure-altosui.png \
24 configure-groundstation.png \
27 device-selection.png \
40 telemega-v1.0-top.jpg \
41 telemetrum-v1.1-thside.jpg \
45 easymini-outline.svg \
46 telemega-outline.svg \
50 RELNOTES_XSL=$(RELNOTES:.html=.xsl)
51 HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html $(RELNOTES)
52 PDF=altusmetrum.pdf altos.pdf telemetry.pdf companion.pdf micropeak.pdf
53 HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl
55 TEMPLATES=titlepage.templates.xsl
57 IMAGES=$(PICTURES) $(SVG)
58 DOC=$(HTML) $(PDF) $(PICTURES)
60 .SUFFIXES: .xml .xsl .html .pdf
62 XSLTFLAGS=--stringparam section.autolabel 1 --xinclude
65 xsltproc $(XSLTFLAGS) -o $@ $(HTMLSTYLE) $*.xsl
68 xmlto -x $(FOSTYLE) --with-fop pdf $*.xsl
71 xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.xml
78 cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
79 (cd /home/bdale/web/altusmetrum ; \
80 git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
81 echo "update docs" | \
82 git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
86 rm -f $(HTML) $(PDF) $(TEMPLATES)
91 altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
92 altusmetrum.pdf: $(RELNOTES_XSL) $(IMAGES)
94 $(PDF): $(FOSTYLE) $(TEMPLATES)
96 indent: altusmetrum.xsl
97 xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new