X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile.am;h=d7d92f2cbf76841647ffccda29882b128b4fd77d;hp=cdd7a339e8e72581a16b4952e56f9bbeafabd09b;hb=47d7affffdf97188a034bb48918ec22f03ea5b38;hpb=c411c7ec71be0263a958c0803772cd6068e6bdad diff --git a/doc/Makefile.am b/doc/Makefile.am index cdd7a339..d7d92f2c 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,16 @@ FAKETIME=TZ=UTC faketime -f '$(RELEASE_DATE) 00:00:00 i0' endif RELNOTES_INC=\ + release-notes-1.9.10.inc \ + release-notes-1.9.9.inc \ + release-notes-1.9.8.inc \ + release-notes-1.9.7.inc \ + release-notes-1.9.6.inc \ + release-notes-1.9.5.inc \ + release-notes-1.9.4.inc \ + release-notes-1.9.3.inc \ + release-notes-1.9.2.inc \ + release-notes-1.9.1.inc \ release-notes-1.9.inc \ release-notes-1.8.7.inc \ release-notes-1.8.6.inc \ @@ -65,6 +75,7 @@ IMAGES=\ easymega-v1.0-top.jpg \ easymini.svg \ easymini-top.jpg \ + easytimer.jpg \ fire-igniter.png \ graph-configure.png \ graph-map.png \ @@ -140,6 +151,7 @@ INC_FILES=\ easymini-device.inc \ telemega.inc \ easymega.inc \ + easytimer.inc \ installation.inc \ using-am-products.inc \ updating-firmware.inc \ @@ -155,7 +167,17 @@ INC_FILES=\ ADOC_FILES=$(TXT_FILES:.txt=.adoc) $(INC_FILES:.inc=.adoc) -TELELAUNCH_TXT_FILES=altusmetrum.txt +MOTORTEST_TXT_FILES=motortest.txt + +MOTORTEST_INC_FILES=\ + motortest-configuration.inc \ + motortest-installation.inc \ + motortest-intro.inc \ + motortest-operation.inc + +MOTORTEST_ADOC_FILES=$(MOTORTEST_TXT_FILES:.txt=.adoc) $(MOTORTEST_INC_FILES:.inc=.adoc) + +TELELAUNCH_TXT_FILES=telelaunch.txt TELELAUNCH_INC_FILES=\ header.inc \ @@ -236,12 +258,12 @@ ONEFILE_HTML_FILES=$(ONEFILE_TXT_FILES:.txt=.html) AM_HTML=am.html -PUBLISH_HTML=altusmetrum.html micropeak.html telegps.html easymini.html telelaunch.html $(ONEFILE_HTML_FILES) +PUBLISH_HTML=altusmetrum.html micropeak.html telegps.html easymini.html motortest.html telelaunch.html $(ONEFILE_HTML_FILES) HTML=$(PUBLISH_HTML) $(RELNOTES_HTML) if ASCIIDOCTOR_PDF -PDF=altusmetrum.pdf micropeak.pdf telegps.pdf easymini.pdf telelaunch.pdf $(ONEFILE_PDF_FILES) \ +PDF=altusmetrum.pdf micropeak.pdf telegps.pdf easymini.pdf motortest.pdf telelaunch.pdf $(ONEFILE_PDF_FILES) \ $(OUTLINE_PDF_FILES) endif @@ -277,6 +299,8 @@ DOC=$(HTML) $(PDF) $(IMAGES) $(MAP_SVG_FILES) $(STYLESHEET) SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html +ATTRIBUTES=--attribute="revdate=$(DOC_DATE)" --attribute="version=$(VERSION)" + .dot.svg: dot -Tsvg -o$@ $*.dot @@ -287,10 +311,10 @@ SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@ .adoc.html: - asciidoctor -b html5 $*.adoc + asciidoctor $(ATTRIBUTES) -b html5 $*.adoc .adoc.pdf: - asciidoctor-pdf $*.adoc + asciidoctor-pdf $(ATTRIBUTES) $*.adoc all: $(HTML) $(PDF) @@ -298,6 +322,8 @@ map-loading.adoc: $(MAP_SVG_FILES) altusmetrum.pdf altusmetrum.html: $(ADOC_FILES) $(IMAGES) +motortest.pdf motortest.html: $(MOTORTEST_ADOC_FILES) $(IMAGES) + telelaunch.pdf telelaunch.html: $(TELELAUNCH_ADOC_FILES) $(IMAGES) telegps.html telegps.pdf: $(TELEGPS_ADOC_FILES) $(IMAGES) @@ -335,7 +361,7 @@ publish-keithp: am.html $(DOC) $(FONTS) scp -p $(ICONS) keithp.com:~keithp/public_html/altos/images/icons clean: - rm -f am.html $(HTML) $(PDF) $(ADOC_FILES) $(TELEGPS_ADOC_FILES) $(MICROPEAK_ADOC_FILES) $(TELELAUNCH_ADOC_FILES) + rm -f am.html $(HTML) $(PDF) $(ADOC_FILES) $(TELEGPS_ADOC_FILES) $(MICROPEAK_ADOC_FILES) $(TELELAUNCH_ADOC_FILES) $(MOTORTEST_ADOC_FILES) distclean: clean rm -f $(HTML) $(PDF)