aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-11-12 21:42:25 -0500
committerPeter Eisentraut <peter_e@gmx.net>2012-11-12 21:42:25 -0500
commit9b3ac49e5afb54c222095dcaf6a73b634ab2c072 (patch)
tree7c4484ca02f56d761f71e3844dfcf48c615c1d50
parentd092d116ed047ebb923ada112235a8866571731c (diff)
downloadpostgresql-9b3ac49e5afb54c222095dcaf6a73b634ab2c072.tar.gz
postgresql-9b3ac49e5afb54c222095dcaf6a73b634ab2c072.zip
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.
-rw-r--r--doc/src/sgml/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 5c3afad32b9..f40a1fe7fc2 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) $^