X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile;h=83731fbe8f1998378f96c53472da2a76e3e8870c;hp=f586ad17c708d53713fa848ff2243d9e6b2c7cb9;hb=7fdf6a6cc252c7813a857714f6088b7fd5bfab40;hpb=e44ce127ece149e7b07be49142bc0f9d50bbe97d diff --git a/doc/Makefile b/doc/Makefile index f586ad17..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 \ @@ -48,13 +50,14 @@ SVG=\ RELNOTES_XSL=$(RELNOTES:.html=.xsl) HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html $(RELNOTES) PDF=altusmetrum.pdf altos.pdf telemetry.pdf companion.pdf micropeak.pdf -DOC=$(HTML) $(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