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.
This commit is contained in:
Peter Eisentraut 2012-11-12 21:42:25 -05:00
parent d092d116ed
commit 9b3ac49e5a

View File

@ -255,8 +255,12 @@ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
rm postgres.xmltmp rm postgres.xmltmp
# ' hello Emacs # ' hello Emacs
xslthtml: stylesheet.xsl postgres.xml xslthtml: xslthtml-stamp
xslthtml-stamp: stylesheet.xsl postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $^ $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $^
cp $(srcdir)/stylesheet.css html/
touch $@
htmlhelp: stylesheet-hh.xsl postgres.xml htmlhelp: stylesheet-hh.xsl postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $^ $(XSLTPROC) $(XSLTPROCFLAGS) $^