From: Keith Packard Date: Tue, 12 Dec 2017 06:36:00 +0000 (-0800) Subject: doc: Don't 'publish' release notes, don't build pdf release notes X-Git-Tag: 1.8.4~1^2~36 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=5cf77306257517a3d1ec8cea85fca34f576a8f22 doc: Don't 'publish' release notes, don't build pdf release notes All we use the release notes for is to include into the main AltOS page. Also remove the docinfo for these files so that information isn't duplicated for each set of release notes. Signed-off-by: Keith Packard --- diff --git a/doc/Makefile b/doc/Makefile index feb1de8f..aa266e75 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -186,7 +186,6 @@ SVG=\ telemini-v3.svg \ easymega.svg -RELNOTES_PDF=$(RELNOTES_INC:.inc=.pdf) RELNOTES_HTML=$(RELNOTES_INC:.inc=.html) ONEFILE_TXT_FILES=\ @@ -196,10 +195,13 @@ ONEFILE_TXT_FILES=\ ONEFILE_RAW_FILES=$(ONEFILE_TXT_FILES:.txt=.raw) ONEFILE_PDF_FILES=$(ONEFILE_TXT_FILES:.txt=.pdf) +ONEFILE_HTML_FILES=$(ONEFILE_TXT_FILES:.txt=.html) AM_HTML=am.html -HTML=altusmetrum.html micropeak.html telegps.html easymini.html $(RELNOTES_HTML) $(ONEFILE_HTML_FILES) +PUBLISH_HTML=altusmetrum.html micropeak.html telegps.html easymini.html $(ONEFILE_HTML_FILES) + +HTML=$(PUBLISH_HTML) $(RELNOTES_HTML) HTML_REVHISTORY=\ altusmetrum-revhistory.html \ @@ -207,7 +209,7 @@ HTML_REVHISTORY=\ telegps-revhistory.html \ easymini-revhistory.html -PDF=altusmetrum.pdf micropeak.pdf telegps.pdf easymini.pdf $(RELNOTES_PDF) $(ONEFILE_PDF_FILES) \ +PDF=altusmetrum.pdf micropeak.pdf telegps.pdf easymini.pdf $(ONEFILE_PDF_FILES) \ $(OUTLINE_PDF_FILES) FOP_STYLE=am-fo.xsl @@ -235,6 +237,8 @@ TEMPLATES_XSL=$(TEMPLATES_TMPL:.tmpl=.xsl) PDF_CONFIG_FILES=$(FOP_STYLE) $(COMMON_STYLE) $(FOP_XCONF) $(TEMPLATES_XSL) HTML_CONFIG_FILES=$(HTML_STYLE) $(COMMON_STYLE) $(TEMPLATES_XSL) +PUBLISH_DOC=$(PUBLISH_HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET) + DOC=$(HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET) .SUFFIXES: .tmpl .xsl .inc .txt .raw .pdf .html @@ -245,12 +249,12 @@ DOC=$(HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET) .inc.raw: sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@ -.raw.pdf: +.raw.html: 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 case $* in release-notes*) ./fix-html $*.html ;; esac -.pdf.html: +.html.pdf: @touch $@ .tmpl.xsl: @@ -278,19 +282,21 @@ telemini-v3-outline.pdf: telemini-v3-outline.txt telemini-v3.svg install: all -publish: $(DOC) $(FONTS) - cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/ - mkdir -p /home/bdale/web/altusmetrum/AltOS/doc/fonts/ - cp $(FONTS) /home/bdale/web/altusmetrum/AltOS/doc/fonts/ - (cd /home/bdale/web/altusmetrum ; \ - git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \ - git add /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \ +WEB_ROOT=/home/bdale/web/ + +publish: $(PUBLISH_DOC) $(FONTS) + cp $(PUBLISH_DOC) $(WEB_ROOT)/altusmetrum/AltOS/doc/ + mkdir -p $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/ + cp $(FONTS) $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/ + (cd $(WEB_ROOT)/altusmetrum ; \ + git add $(WEB_ROOT)/altusmetrum/AltOS/doc/* ; \ + git add $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/* ; \ echo "update docs" | \ - git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \ + git commit -F - $(WEB_ROOT)/altusmetrum/AltOS/doc/* $(WEB_ROOT)/altusmetrum/AltOS/doc/fonts/* ; \ git push) -publish-keithp: am.html $(DOC) $(FONTS) - scp -p am.html $(DOC) keithp.com:~keithp/public_html/altos +publish-keithp: am.html $(PUBLISH_DOC) $(FONTS) + scp -p am.html $(PUBLISH_DOC) keithp.com:~keithp/public_html/altos scp -p $(FONTS) keithp.com:~keithp/public_html/altos/fonts clean: diff --git a/doc/release-notes-0.7.1-docinfo.xml b/doc/release-notes-0.7.1-docinfo.xml deleted file mode 100644 index 9657f2a6..00000000 --- a/doc/release-notes-0.7.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -29 September 2010 - - 2010 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-0.8-docinfo.xml b/doc/release-notes-0.8-docinfo.xml deleted file mode 100644 index d593da31..00000000 --- a/doc/release-notes-0.8-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -24 November 2010 - - 2010 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-0.9-docinfo.xml b/doc/release-notes-0.9-docinfo.xml deleted file mode 100644 index 605472f2..00000000 --- a/doc/release-notes-0.9-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -18 January 2011 - - 2011 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-0.9.2-docinfo.xml b/doc/release-notes-0.9.2-docinfo.xml deleted file mode 100644 index 40e53634..00000000 --- a/doc/release-notes-0.9.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -19 March 2011 - - 2011 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.0.1-docinfo.xml b/doc/release-notes-1.0.1-docinfo.xml deleted file mode 100644 index 23972104..00000000 --- a/doc/release-notes-1.0.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -24 August 2011 - - 2011 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.1-docinfo.xml b/doc/release-notes-1.1-docinfo.xml deleted file mode 100644 index 93273918..00000000 --- a/doc/release-notes-1.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -13 September 2012 - - 2013 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.1.1-docinfo.xml b/doc/release-notes-1.1.1-docinfo.xml deleted file mode 100644 index 41ea12da..00000000 --- a/doc/release-notes-1.1.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -16 September 2012 - - 2012 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.2-docinfo.xml b/doc/release-notes-1.2-docinfo.xml deleted file mode 100644 index ba2c9d56..00000000 --- a/doc/release-notes-1.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -18 April 2013 - - 2013 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.2.1-docinfo.xml b/doc/release-notes-1.2.1-docinfo.xml deleted file mode 100644 index d0f08b9c..00000000 --- a/doc/release-notes-1.2.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -21 May 2013 - - 2013 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.3-docinfo.xml b/doc/release-notes-1.3-docinfo.xml deleted file mode 100644 index aa569df4..00000000 --- a/doc/release-notes-1.3-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -12 November 2013 - - 2013 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.3.1-docinfo.xml b/doc/release-notes-1.3.1-docinfo.xml deleted file mode 100644 index f67cf3b8..00000000 --- a/doc/release-notes-1.3.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -21 January 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.3.2-docinfo.xml b/doc/release-notes-1.3.2-docinfo.xml deleted file mode 100644 index 82b7677e..00000000 --- a/doc/release-notes-1.3.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -24 January 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.4-docinfo.xml b/doc/release-notes-1.4-docinfo.xml deleted file mode 100644 index 12a38ce5..00000000 --- a/doc/release-notes-1.4-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -15 June 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.4.1-docinfo.xml b/doc/release-notes-1.4.1-docinfo.xml deleted file mode 100644 index 6224b16e..00000000 --- a/doc/release-notes-1.4.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -20 June 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.4.2-docinfo.xml b/doc/release-notes-1.4.2-docinfo.xml deleted file mode 100644 index 8fd94324..00000000 --- a/doc/release-notes-1.4.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -17 August 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.5-docinfo.xml b/doc/release-notes-1.5-docinfo.xml deleted file mode 100644 index 0c0cace7..00000000 --- a/doc/release-notes-1.5-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -6 September 2014 - - 2014 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6-docinfo.xml b/doc/release-notes-1.6-docinfo.xml deleted file mode 100644 index 5ae58bb5..00000000 --- a/doc/release-notes-1.6-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -8 January 2015 - - 2015 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.1-docinfo.xml b/doc/release-notes-1.6.1-docinfo.xml deleted file mode 100644 index dc0a2d67..00000000 --- a/doc/release-notes-1.6.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -15 July 2015 - - 2015 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.2-docinfo.xml b/doc/release-notes-1.6.2-docinfo.xml deleted file mode 100644 index 78206e2a..00000000 --- a/doc/release-notes-1.6.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -10 January 2016 - - 2016 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.3-docinfo.xml b/doc/release-notes-1.6.3-docinfo.xml deleted file mode 100644 index ce22ebcb..00000000 --- a/doc/release-notes-1.6.3-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -6 May 2016 - - 2016 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.4-docinfo.xml b/doc/release-notes-1.6.4-docinfo.xml deleted file mode 100644 index 76af3557..00000000 --- a/doc/release-notes-1.6.4-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -17 June 2016 - - 2016 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.5-docinfo.xml b/doc/release-notes-1.6.5-docinfo.xml deleted file mode 100644 index a07d6f0f..00000000 --- a/doc/release-notes-1.6.5-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -4 July 2016 - - 2016 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.6.8-docinfo.xml b/doc/release-notes-1.6.8-docinfo.xml deleted file mode 100644 index 776c244c..00000000 --- a/doc/release-notes-1.6.8-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -5 September 2016 - - 2016 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.7-docinfo.xml b/doc/release-notes-1.7-docinfo.xml deleted file mode 100644 index 61d77d92..00000000 --- a/doc/release-notes-1.7-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -24 April 2017 - - 2017 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.8-docinfo.xml b/doc/release-notes-1.8-docinfo.xml deleted file mode 100644 index 3b40421a..00000000 --- a/doc/release-notes-1.8-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -12 August 2017 - - 2017 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.8.1-docinfo.xml b/doc/release-notes-1.8.1-docinfo.xml deleted file mode 100644 index 29a4fe7a..00000000 --- a/doc/release-notes-1.8.1-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -28 August 2017 - - 2017 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.8.2-docinfo.xml b/doc/release-notes-1.8.2-docinfo.xml deleted file mode 100644 index a5fbc6e2..00000000 --- a/doc/release-notes-1.8.2-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -18 September 2017 - - 2017 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-1.8.3-docinfo.xml b/doc/release-notes-1.8.3-docinfo.xml deleted file mode 100644 index e0366586..00000000 --- a/doc/release-notes-1.8.3-docinfo.xml +++ /dev/null @@ -1,29 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - -11 December 2017 - - 2017 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - - diff --git a/doc/release-notes-docinfo.xml b/doc/release-notes-docinfo.xml deleted file mode 100644 index 4f842cde..00000000 --- a/doc/release-notes-docinfo.xml +++ /dev/null @@ -1,28 +0,0 @@ - - Bdale - Garbee - bdale@gag.com - - - Keith - Packard - keithp@keithp.com - - - 2015 - Bdale Garbee and Keith Packard - - - - - - - - - This document is released under the terms of the - - Creative Commons ShareAlike 3.0 - - license. - -