doc: Make pdf files depend on local stylesheet
authorKeith Packard <keithp@keithp.com>
Mon, 18 Nov 2013 20:42:38 +0000 (12:42 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Nov 2013 20:42:38 +0000 (12:42 -0800)
Now that we're using our own, rebuild the docs when it changes

Signed-off-by: Keith Packard <keithp@keithp.com>
doc/Makefile

index 6e326ba519d833a22012d7e1ddb80eae59fc8a20..c45e084b65126ecf39b16e37e3bfdf31bf02e2a6 100644 (file)
@@ -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