]> granicus.if.org Git - postgresql/commitdiff
doc: Add SPFLAGS to osx calls
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 7 Apr 2017 22:26:06 +0000 (18:26 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 7 Apr 2017 22:30:13 +0000 (18:30 -0400)
This enables the same OpenSP warnings on osx calls that we get from
onsgmls (make check) and formerly from openjade.

Older tool chains apparently have some of these warnings on by
default (see comment at SPFLAGS assignment).  So users of such tool
chains would complain about warnings or errors that users of newer tool
chains would not see, unless they used "make check".

doc/src/sgml/Makefile

index 6a2cbf26ee756d337ce60f1846403f41a9727683..8a73cc796f8fbe666e1e3fb523cdaaa3791aa061 100644 (file)
@@ -132,7 +132,7 @@ INSTALL.html: %.html : stylesheet-text.xsl %.xml
        $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $^ >$@
 
 INSTALL.xml: standalone-install.sgml installation.sgml version.sgml
-       $(OSX) $(SGMLINCLUDE) -x lower $(filter-out version.sgml,$^) >$@.tmp
+       $(OSX) $(SPFLAGS) $(SGMLINCLUDE) -x lower $(filter-out version.sgml,$^) >$@.tmp
        $(call mangle-xml,chapter)
 
 
@@ -144,7 +144,7 @@ INSTALL.xml: standalone-install.sgml installation.sgml version.sgml
 # if we try to do "make all" in a VPATH build without the explicit
 # $(srcdir) on the postgres.sgml dependency in this rule.  GNU make bug?
 postgres.xml: $(srcdir)/postgres.sgml $(ALLSGML)
-       $(OSX) $(SGMLINCLUDE) -x lower $< >$@.tmp
+       $(OSX) $(SPFLAGS) $(SGMLINCLUDE) -x lower $< >$@.tmp
        $(call mangle-xml,book)
 
 define mangle-xml