From 8363326cd87fb1e53ad78146c0503aa476d2da89 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 8 Feb 2014 14:24:13 -0800 Subject: doc: Update micropeak docs to include lots of pictures Signed-off-by: Keith Packard --- doc/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index f7ecf069..3079c148 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -52,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 @@ -66,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 @@ -89,6 +93,8 @@ altusmetrum.pdf: $(RELNOTES_XSL) $(IMAGES) $(PDF): $(FOSTYLE) +micropeak.pdf: $(TEMPLATES) + indent: altusmetrum.xsl xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new -- cgit v1.2.3