diff options
| author | Andres Freund <andres@anarazel.de> | 2023-04-04 21:10:46 -0700 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2023-04-04 21:29:45 -0700 |
| commit | b8059bdf1ef8f7e215ec5010fcf6c3bd9c491eef (patch) | |
| tree | 7f13febde6ad0d4fa3b56222e76c8cf98412d373 /doc/src/sgml/Makefile | |
| parent | 0012979d989fd1640ed17c32b303ebbd2294a3fc (diff) | |
docs: html: load stylesheet via custom.css.source
Until now the meson built docs did not have a working reference to the css
stylesheet, it was copied in the make target. Instead of duplicating that for
meson, use the docbook-xsl parameter custom.css.source to reference it. An
additional benefit of that approach is that the stylesheet is now included in
the single-file HTML documentation.
Reported-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/3fc3bb9b-f7f8-d442-35c1-ec82280c564a@enterprisedb.com
Diffstat (limited to 'doc/src/sgml/Makefile')
| -rw-r--r-- | doc/src/sgml/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 11ecdaf717e..71cbef230f3 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -39,7 +39,7 @@ ifndef FOP FOP = $(missing) fop endif -XMLINCLUDE = --path . +XMLINCLUDE = --path . --path $(srcdir) ifdef XMLLINT XMLLINT := $(XMLLINT) --nonet @@ -144,7 +144,6 @@ html: html-stamp html-stamp: stylesheet.xsl postgres-full.xml $(ALL_IMAGES) $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $(wordlist 1,2,$^) - cp $(srcdir)/stylesheet.css html/ touch $@ # single-page HTML |
