Skip to content

Commit 9b3ac49

Browse files
committed
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.
1 parent d092d11 commit 9b3ac49

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/sgml/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,12 @@ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
255255
rm postgres.xmltmp
256256
# ' hello Emacs
257257

258-
xslthtml: stylesheet.xsl postgres.xml
258+
xslthtml: xslthtml-stamp
259+
260+
xslthtml-stamp: stylesheet.xsl postgres.xml
259261
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $^
262+
cp $(srcdir)/stylesheet.css html/
263+
touch $@
260264

261265
htmlhelp: stylesheet-hh.xsl postgres.xml
262266
$(XSLTPROC) $(XSLTPROCFLAGS) $^

0 commit comments

Comments
 (0)