2 # http://docbook.sourceforge.net/release/xsl/current/README
6 release-notes-0.7.1.inc \
7 release-notes-0.8.inc \
8 release-notes-0.9.inc \
9 release-notes-0.9.2.inc \
10 release-notes-1.0.1.inc \
11 release-notes-1.1.inc \
12 release-notes-1.1.1.inc \
13 release-notes-1.2.inc \
14 release-notes-1.2.1.inc \
15 release-notes-1.3.inc \
16 release-notes-1.3.1.inc \
17 release-notes-1.3.2.inc \
18 release-notes-1.4.inc \
19 release-notes-1.4.1.inc \
20 release-notes-1.4.2.inc \
21 release-notes-1.5.inc \
22 release-notes-1.6.inc \
23 release-notes-1.6.1.inc
28 configure-altimeter.png \
29 configure-altosui.png \
30 configure-groundstation.png \
33 device-selection.png \
45 micropeak-device-dialog.png \
47 micropeak-download.png \
48 micropeak-graph-configure.png \
50 micropeak-preferences.png \
51 micropeak-raw-data.png \
52 micropeak-save-dialog.png \
53 micropeak-statistics.png \
54 MicroPeakUSB-2.0-inuse.jpg \
55 MicroPeakUSB-2.0.jpg \
60 telemega-v1.0-top.jpg \
61 telemetrum-v1.1-thside.jpg \
65 TXT_FILES=altusmetrum.txt
79 using-am-products.inc \
80 updating-firmware.inc \
83 system-operation.inc \
85 flight-data-recording.inc \
91 RAW_FILES=$(TXT_FILES:.txt=.raw) $(INC_FILES:.inc=.raw)
95 telegps-quick-start.inc \
97 telegps-system-operation.inc \
98 telegps-application.inc \
101 telegps-updating-firmware.inc \
102 telegps-release-notes.inc
107 TELEGPS_RAW_FILES=$(TELEGPS_TXT_FILES:.txt=.raw) $(TELEGPS_INC_FILES:.inc=.raw)
109 MICROPEAK_TXT_FILES=\
114 MICROPEAK_RAW_FILES=$(MICROPEAK_TXT_FILES:.txt=.raw) $(MICROPEAK_INC_FILES:.inc=.raw)
117 easymega-outline.txt \
118 easymini-outline.txt \
119 telemega-outline.txt \
120 telemetrum-outline.txt \
123 OUTLINE_RAW_FILES=$(OUTLINE_TXT_FILES:.txt=.raw)
125 OUTLINE_PDF_FILES=$(OUTLINE_TXT_FILES:.txt=.pdf)
134 RELNOTES_PDF=$(RELNOTES_INC:.inc=.pdf)
135 RELNOTES_HTML=$(RELNOTES_INC:.inc=.html)
140 ALTOS_RAW_FILES=$(ALTOS_TXT_FILES:.txt=.raw)
141 ALTOS_PDF_FILES=$(ALTOS_TXT_FILES:.txt=.pdf)
143 HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html telegps.html $(RELNOTES_HTML)
145 PDF=altusmetrum.pdf $(RELNOTES_PDF) $(ALTOS_PDF_FILES) telemetry.pdf companion.pdf micropeak.pdf telegps.pdf \
150 TEMPLATES_TMPL=titlepage.templates.tmpl
152 TEMPLATES_XSL=$(TEMPLATES_TMPL:.tmpl=.xsl)
154 IMAGES=$(PICTURES) $(SVG)
156 DOC=$(HTML) $(PDF) $(IMAGES)
158 .SUFFIXES: .tmpl .xsl .inc .txt .raw .pdf .html
160 XSLTFLAGS=--stringparam section.autolabel 1 --xinclude
163 sed -e 's/@@VERSION@@/$(VERSION)/' -e 's/@@DATE@@/$(DATE)/' -e 's/^[ ]*//' -e 's/^\\//' $*.txt > $@
166 sed -e 's/@@VERSION@@/$(VERSION)/' -e 's/@@DATE@@/$(DATE)/' -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@
169 a2x --verbose -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file am-fo.xsl --fop --fop-opts="-c fop.xconf" $*.raw
172 a2x --verbose -a docinfo -f xhtml --xsltproc-opts "--stringparam toc.section.depth 2" --stylesheet=am.css $*.raw
175 xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.tmpl
181 altusmetrum.pdf altusmetrum.html: altusmetrum-docinfo.xml $(RAW_FILES) $(RAW_INC) $(IMAGES)
183 telegps.html telegps.pdf: telegps-docinfo.xml $(TELEGPS_RAW_FILES) $(IMAGES)
185 micropeak.pdf micropeak.html: micropeak-docinfo.xml $(MICROPEAK_RAW_FILES) $(IMAGES)
190 cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
191 (cd /home/bdale/web/altusmetrum ; \
192 git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
193 echo "update docs" | \
194 git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
198 rm -f $(HTML) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)
203 $(PDF): $(FOSTYLE) $(TEMPLATES_XSL)
204 $(HTML): $(TEMPLATES_XSL)