summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-02-08 14:24:13 -0800
committerKeith Packard <keithp@keithp.com>2014-02-08 14:24:13 -0800
commit8363326cd87fb1e53ad78146c0503aa476d2da89 (patch)
tree659ee5f09d27eb2e8f583a64a23ea3143338f4c8 /doc/Makefile
parent306028b33ebed45bcf379740cc3c01c2360c51f4 (diff)
doc: Update micropeak docs to include lots of pictures
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile8
1 files changed, 7 insertions, 1 deletions
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