summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-18 12:42:38 -0800
committerKeith Packard <keithp@keithp.com>2013-11-18 12:42:38 -0800
commit89fc38f2cf143bed1fe8c4a4972267b15c9aa467 (patch)
treefa3807915639547759de0bb79c8ff82110ee0e76 /doc
parentf9bbca59a9034cf7e6df4577e627d7447f3a9d51 (diff)
doc: Make pdf files depend on local stylesheet
Now that we're using our own, rebuild the docs when it changes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 6e326ba5..c45e084b 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -19,7 +19,7 @@ HTML=altusmetrum.html altos.html telemetry.html companion.html micropeak.html $(
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
+FOSTYLE=xorg-fo.xsl
PDFSTYLE=
IMAGES=telemetrum.svg telemini.svg
@@ -52,7 +52,9 @@ distclean:
rm -f $(HTML) $(PDF)
altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
-altusmetrum.fo: $(RELNOTES_XSL) $(IMAGES)
+altusmetrum.pdf: $(RELNOTES_XSL) $(IMAGES)
+
+$(PDF): $(FOSTYLE)
indent: altusmetrum.xsl
xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new