#
RELNOTES_INC=\
- release-notes-0.7.1.inc \
- release-notes-0.8.inc \
- release-notes-0.9.inc \
- release-notes-0.9.2.inc \
- release-notes-1.0.1.inc \
- release-notes-1.1.inc \
- release-notes-1.1.1.inc \
- release-notes-1.2.inc \
- release-notes-1.2.1.inc \
- release-notes-1.3.inc \
- release-notes-1.3.1.inc \
- release-notes-1.3.2.inc \
- release-notes-1.4.inc \
- release-notes-1.4.1.inc \
- release-notes-1.4.2.inc \
- release-notes-1.5.inc \
+ release-notes-1.6.2.inc \
+ release-notes-1.6.1.inc \
release-notes-1.6.inc \
- release-notes-1.6.1.inc
+ release-notes-1.5.inc \
+ release-notes-1.4.2.inc \
+ release-notes-1.4.1.inc \
+ release-notes-1.4.inc \
+ release-notes-1.3.2.inc \
+ release-notes-1.3.1.inc \
+ release-notes-1.3.inc \
+ release-notes-1.2.1.inc \
+ release-notes-1.2.inc \
+ release-notes-1.1.1.inc \
+ release-notes-1.1.inc \
+ release-notes-1.0.1.inc \
+ release-notes-0.9.2.inc \
+ release-notes-0.9.inc \
+ release-notes-0.8.inc \
+ release-notes-0.7.1.inc
IMAGES=\
altosui.png \
telemetrum-v2.0-th.jpg \
telemini.svg \
telemini-v1-top.jpg \
- telemini-v2-top.jpg \
altusmetrum-oneline.svg \
telegps-oneline.svg \
micropeak-oneline.svg
usage.inc \
telemetrum.inc \
telemini-v1.0.inc \
- telemini-v2.0.inc \
easymini-device.inc \
telemega.inc \
easymega.inc \
ONEFILE_RAW_FILES=$(ONEFILE_TXT_FILES:.txt=.raw)
ONEFILE_PDF_FILES=$(ONEFILE_TXT_FILES:.txt=.pdf)
+AM_HTML=am.html
+
HTML=altusmetrum.html micropeak.html telegps.html easymini.html $(RELNOTES_HTML) $(ONEFILE_HTML_FILES)
HTML_REVHISTORY=\
sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@
.raw.pdf:
- a2x --verbose -a icons -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(FOP_STYLE) --fop --fop-opts="-c $(FOP_XCONF)" $*.raw
+ a2x --verbose -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(FOP_STYLE) --fop --fop-opts="-c $(FOP_XCONF)" $*.raw
+ a2x --verbose -a docinfo -f xhtml --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(HTML_STYLE) --stylesheet=$(STYLESHEET) $*.raw
-.raw.html:
- a2x --verbose -a icons -a docinfo -f xhtml --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(HTML_STYLE) --stylesheet=$(STYLESHEET) $*.raw
+.pdf.html:
+ @touch $@
.tmpl.xsl:
xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.tmpl
all: $(HTML) $(PDF)
-$(HTML): $(PDF)
-
altusmetrum-revhistory.html: altusmetrum.html
micropeak-revhistory.html: micropeak.html
telegps-revhistory.html: telegps.html
-altusmetrum.pdf altusmetrum.html: altusmetrum-docinfo.xml $(RAW_FILES) $(RAW_INC) $(IMAGES)
+altusmetrum.pdf altusmetrum.html: altusmetrum-docinfo.xml $(RAW_FILES) $(IMAGES)
telegps.html telegps.pdf: telegps-docinfo.xml $(TELEGPS_RAW_FILES) $(IMAGES)
git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \
git push)
-publish-keithp: $(DOC) $(FONTS)
- scp -p $(DOC) keithp.com:~keithp/public_html/altos
+publish-keithp: am.html $(DOC) $(FONTS)
+ scp -p am.html $(DOC) keithp.com:~keithp/public_html/altos
scp -p $(FONTS) keithp.com:~keithp/public_html/altos/fonts
clean:
- rm -f $(HTML) $(HTML_REVHISTORY) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)
+ rm -f am.html $(HTML) $(HTML_REVHISTORY) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)
distclean: clean
rm -f $(HTML) $(PDF)
$(PDF): $(PDF_CONFIG_FILES)
$(HTML): $(HTML_CONFIG_FILES)
+
+am.html: Makefile make-am-html $(HTML)
+ sh ./make-am-html $(HTML) > $@