From 89fc38f2cf143bed1fe8c4a4972267b15c9aa467 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Nov 2013 12:42:38 -0800 Subject: [PATCH] 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 --- doc/Makefile | 6 ++++-- 1 file 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 -- 2.30.2