X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile;h=83731fbe8f1998378f96c53472da2a76e3e8870c;hp=bc8dc2a2f408315267f6a10251ccf6b06c6c110c;hb=7fdf6a6cc252c7813a857714f6088b7fd5bfab40;hpb=212a1b66ae04317b7b42ba57573b910fde09ca6c diff --git a/doc/Makefile b/doc/Makefile index bc8dc2a2..83731fbe 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -12,7 +12,9 @@ RELNOTES=\ release-notes-1.1.1.html \ release-notes-1.2.html \ release-notes-1.2.1.html \ - release-notes-1.3.html + release-notes-1.3.html \ + release-notes-1.3.1.html \ + release-notes-1.3.2.html PICTURES=\ altosui.png \ @@ -50,11 +52,12 @@ HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html $( PDF=altusmetrum.pdf altos.pdf telemetry.pdf companion.pdf micropeak.pdf HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl FOSTYLE=xorg-fo.xsl +TEMPLATES=titlepage.templates.xsl PDFSTYLE= IMAGES=$(PICTURES) $(SVG) DOC=$(HTML) $(PDF) $(PICTURES) -.SUFFIXES: .xsl .html .pdf +.SUFFIXES: .xml .xsl .html .pdf XSLTFLAGS=--stringparam section.autolabel 1 --xinclude @@ -64,6 +67,9 @@ XSLTFLAGS=--stringparam section.autolabel 1 --xinclude .xsl.pdf: xmlto -x $(FOSTYLE) --with-fop pdf $*.xsl +.xml.xsl: + xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.xml + all: $(HTML) $(PDF) install: all @@ -77,7 +83,7 @@ publish: $(DOC) git push) clean: - rm -f $(HTML) $(PDF) + rm -f $(HTML) $(PDF) $(TEMPLATES) distclean: rm -f $(HTML) $(PDF) @@ -85,7 +91,7 @@ distclean: altusmetrum.html: $(RELNOTES_XSL) $(IMAGES) altusmetrum.pdf: $(RELNOTES_XSL) $(IMAGES) -$(PDF): $(FOSTYLE) +$(PDF): $(FOSTYLE) $(TEMPLATES) indent: altusmetrum.xsl xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new