X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FMakefile;h=6d9ea8ebbbaea375147a8b7a6bafc41b7c46da5c;hb=a07b07d48f71b9a11e73a82db075cc57bad0c09f;hp=80c84409a0f459115de9d0905de22ecf7c667924;hpb=4ae724fe1d2ca0d712321c4fdc2200ff46d77428;p=fw%2Faltos diff --git a/doc/Makefile b/doc/Makefile index 80c84409..6d9ea8eb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,8 +2,13 @@ # http://docbook.sourceforge.net/release/xsl/current/README # -HTML=altusmetrum.html altos.html -PDF=altusmetrum.pdf altos.pdf +RELNOTES=\ + release-notes-0.7.1.html \ + release-notes-0.8.html \ + release-notes-0.9.html \ + release-notes-0.9.2.html +HTML=altusmetrum.html altos.html telemetry.html $(RELNOTES) +PDF=altusmetrum.pdf altos.pdf telemetry.pdf DOC=$(HTML) $(PDF) HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl FOSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl @@ -11,11 +16,13 @@ PDFSTYLE= .SUFFIXES: .xsl .html .fo .pdf +XSLTFLAGS=--stringparam section.autolabel 1 --xinclude + .xsl.html: - xsltproc -o $@ $(HTMLSTYLE) $*.xsl + xsltproc $(XSLTFLAGS) -o $@ $(HTMLSTYLE) $*.xsl .xsl.fo: - xsltproc -o $@ $(FOSTYLE) $*.xsl + xsltproc $(XSLTFLAGS) -o $@ $(FOSTYLE) $*.xsl .fo.pdf: fop -fo $*.fo -pdf $@