From: Keith Packard Date: Mon, 18 Nov 2013 20:42:38 +0000 (-0800) Subject: doc: Make pdf files depend on local stylesheet X-Git-Tag: 1.3~102 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=89fc38f2cf143bed1fe8c4a4972267b15c9aa467;hp=f9bbca59a9034cf7e6df4577e627d7447f3a9d51 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 --- 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