From: Peter Eisentraut Date: Tue, 13 Nov 2012 02:42:25 +0000 (-0500) Subject: Use a stamp file for the XSLT HTML doc build X-Git-Tag: REL9_3_BETA1~722 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b3ac49e5afb54c222095dcaf6a73b634ab2c072;p=postgresql Use a stamp file for the XSLT HTML doc build This way it works more like the DSSSL build, and dependencies are tracked better by make. Also copy the CSS stylesheet to the html directory. This was forgotten when the output directory was changed. --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 5c3afad32b..f40a1fe7fc 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -255,8 +255,12 @@ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML) rm postgres.xmltmp # ' hello Emacs -xslthtml: stylesheet.xsl postgres.xml +xslthtml: xslthtml-stamp + +xslthtml-stamp: stylesheet.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $^ + cp $(srcdir)/stylesheet.css html/ + touch $@ htmlhelp: stylesheet-hh.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) $^