2 # http://docbook.sourceforge.net/release/xsl/current/README
6 release-notes-1.8.7.inc \
7 release-notes-1.8.6.inc \
8 release-notes-1.8.5.inc \
9 release-notes-1.8.4.inc \
10 release-notes-1.8.3.inc \
11 release-notes-1.8.2.inc \
12 release-notes-1.8.1.inc \
13 release-notes-1.8.inc \
14 release-notes-1.7.inc \
15 release-notes-1.6.8.inc \
16 release-notes-1.6.5.inc \
17 release-notes-1.6.4.inc \
18 release-notes-1.6.3.inc \
19 release-notes-1.6.2.inc \
20 release-notes-1.6.1.inc \
21 release-notes-1.6.inc \
22 release-notes-1.5.inc \
23 release-notes-1.4.2.inc \
24 release-notes-1.4.1.inc \
25 release-notes-1.4.inc \
26 release-notes-1.3.2.inc \
27 release-notes-1.3.1.inc \
28 release-notes-1.3.inc \
29 release-notes-1.2.1.inc \
30 release-notes-1.2.inc \
31 release-notes-1.1.1.inc \
32 release-notes-1.1.inc \
33 release-notes-1.0.1.inc \
34 release-notes-0.9.2.inc \
35 release-notes-0.9.inc \
36 release-notes-0.8.inc \
37 release-notes-0.7.1.inc
42 configure-altimeter.png \
43 configure-altosui.png \
44 configure-groundstation.png \
47 device-selection.png \
49 easymega-v1.0-bottom.jpg \
50 easymega-v1.0-top.jpg \
64 micropeak-device-dialog.png \
66 micropeak-download.png \
67 micropeak-graph-configure.png \
69 micropeak-nofont.svg \
70 micropeak-preferences.png \
71 micropeak-raw-data.png \
72 micropeak-save-dialog.png \
73 micropeak-statistics.png \
74 MicroPeakUSB-2.0-inuse.jpg \
75 MicroPeakUSB-2.0.jpg \
80 telegps-configure.png \
81 telegps-graph-configure.png \
82 telegps-graph-graph.png \
83 telegps-graph-map.png \
84 telegps-graph-stats.png \
86 telegps-location.png \
88 telegps-preferences.png \
92 telegps-v1.0-top.jpg \
94 telemega-v1.0-top.jpg \
96 telemetrum-v1.1-thside.jpg \
97 telemetrum-v2.0-th.jpg \
101 telemini-v3.0-top.jpg \
102 telemini-v3.0-bottom.jpg \
103 altusmetrum-oneline.svg \
104 telegps-oneline.svg \
105 micropeak-oneline.svg
107 TXT_FILES=altusmetrum.txt
119 getting-started.inc \
123 easymini-device.inc \
127 using-am-products.inc \
128 updating-firmware.inc \
131 system-operation.inc \
133 flight-data-recording.inc \
135 $(COMMON_INC_FILES) \
139 RAW_FILES=$(TXT_FILES:.txt=.raw) $(INC_FILES:.inc=.raw)
142 telegps-dedication.inc \
143 telegps-quick-start.inc \
145 telegps-system-operation.inc \
146 telegps-application.inc \
148 telegps-updating-firmware.inc \
149 telegps-release-notes.inc \
155 TELEGPS_RAW_FILES=$(TELEGPS_TXT_FILES:.txt=.raw) $(TELEGPS_INC_FILES:.inc=.raw)
157 MICROPEAK_TXT_FILES=\
162 MICROPEAK_RAW_FILES=$(MICROPEAK_TXT_FILES:.txt=.raw) $(MICROPEAK_INC_FILES:.inc=.raw)
167 EASYMINI_INC_FILES=$(INC_FILES) easymini-release-notes.inc
170 EASYMINI_RAW_FILES=$(EASYMINI_TXT_FILES:.txt=.raw) $(EASYMINI_INC_FILES:.inc=.raw)
173 easymega-outline.txt \
174 easymini-outline.txt \
175 telemega-outline.txt \
176 telemetrum-outline.txt \
177 telemini-v1-outline.txt \
178 telemini-v3-outline.txt \
181 OUTLINE_RAW_FILES=$(OUTLINE_TXT_FILES:.txt=.raw)
183 OUTLINE_PDF_FILES=$(OUTLINE_TXT_FILES:.txt=.pdf)
193 RELNOTES_HTML=$(RELNOTES_INC:.inc=.html)
200 ONEFILE_RAW_FILES=$(ONEFILE_TXT_FILES:.txt=.raw)
201 ONEFILE_PDF_FILES=$(ONEFILE_TXT_FILES:.txt=.pdf)
202 ONEFILE_HTML_FILES=$(ONEFILE_TXT_FILES:.txt=.html)
206 PUBLISH_HTML=altusmetrum.html micropeak.html telegps.html easymini.html $(ONEFILE_HTML_FILES)
208 HTML=$(PUBLISH_HTML) $(RELNOTES_HTML)
211 altusmetrum-revhistory.html \
212 micropeak-revhistory.html \
213 telegps-revhistory.html \
214 easymini-revhistory.html
216 PDF=altusmetrum.pdf micropeak.pdf telegps.pdf easymini.pdf $(ONEFILE_PDF_FILES) \
220 HTML_STYLE=am-html.xsl
221 COMMON_STYLE=common.xsl
226 fonts/DejaVuSansMono-BoldOblique.ttf \
227 fonts/DejaVuSansMono-Bold.ttf \
228 fonts/DejaVuSansMono-Oblique.ttf \
229 fonts/DejaVuSansMono.ttf \
230 fonts/OpenSans-Light.ttf \
231 fonts/OpenSans-LightItalic.ttf \
232 fonts/OpenSans-Regular.ttf \
233 fonts/OpenSans-Italic.ttf \
234 fonts/OpenSans-Semibold.ttf \
235 fonts/OpenSans-SemiboldItalic.ttf
237 TEMPLATES_TMPL=titlepage.templates.tmpl
239 TEMPLATES_XSL=$(TEMPLATES_TMPL:.tmpl=.xsl)
241 PDF_CONFIG_FILES=$(FOP_STYLE) $(COMMON_STYLE) $(FOP_XCONF) $(TEMPLATES_XSL)
242 HTML_CONFIG_FILES=$(HTML_STYLE) $(COMMON_STYLE) $(TEMPLATES_XSL)
244 PUBLISH_DOC=$(PUBLISH_HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET)
246 DOC=$(HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET)
248 .SUFFIXES: .tmpl .xsl .inc .txt .raw .pdf .html
251 sed -e 's/^[ ]*//' -e 's/^\\//' $*.txt > $@
254 sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@
257 a2x --verbose -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(FOP_STYLE) --fop --fop-opts="-c $(FOP_XCONF)" $*.raw
258 a2x --verbose -a docinfo -f xhtml --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(HTML_STYLE) --stylesheet=$(STYLESHEET) $*.raw
259 case $* in release-notes*) ./fix-html $*.html ;; esac
265 xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.tmpl
269 altusmetrum-revhistory.html: altusmetrum.html
271 micropeak-revhistory.html: micropeak.html
273 telegps-revhistory.html: telegps.html
275 altusmetrum.pdf altusmetrum.html: altusmetrum-docinfo.xml $(RAW_FILES) $(IMAGES)
277 telegps.html telegps.pdf: telegps-docinfo.xml $(TELEGPS_RAW_FILES) $(IMAGES)
279 micropeak.pdf micropeak.html: micropeak-docinfo.xml $(MICROPEAK_RAW_FILES) $(IMAGES)
281 easymini.pdf easymini.html: easymini-docinfo.xml $(EASYMINI_RAW_FILES) $(IMAGES)
283 telemini-v1-outline.pdf: telemini-v1-outline.txt telemini-v1.svg
285 telemini-v3-outline.pdf: telemini-v3-outline.txt telemini-v3.svg
289 WEB_ROOT=/home/bdale/web/
291 publish: $(PUBLISH_DOC) $(FONTS)
292 cp $(PUBLISH_DOC) $(WEB_ROOT)/altusmetrum/AltOS/doc/
293 mkdir -p $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/
294 cp $(FONTS) $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/
295 (cd $(WEB_ROOT)/altusmetrum ; \
296 git add $(WEB_ROOT)/altusmetrum/AltOS/doc/* ; \
297 git add $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/* ; \
298 echo "update docs" | \
299 git commit -F - $(WEB_ROOT)/altusmetrum/AltOS/doc/* $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/* ; \
302 publish-keithp: am.html $(PUBLISH_DOC) $(FONTS)
303 scp -p am.html $(PUBLISH_DOC) keithp.com:~keithp/public_html/altos
304 scp -p $(FONTS) keithp.com:~keithp/public_html/altos/fonts
307 rm -f am.html $(HTML) $(HTML_REVHISTORY) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)
312 $(PDF): $(PDF_CONFIG_FILES)
313 $(HTML): $(HTML_CONFIG_FILES)
315 am.html: Makefile make-am-html $(HTML)
316 sh ./make-am-html $(HTML) > $@