|
2 | 2 | #
|
3 | 3 | # PostgreSQL documentation makefile
|
4 | 4 | #
|
5 |
| -# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.64 2004/01/15 23:51:32 petere Exp $ |
| 5 | +# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.65 2004/03/01 16:08:58 neilc Exp $ |
6 | 6 | #
|
7 | 7 | #----------------------------------------------------------------------------
|
8 | 8 |
|
@@ -58,6 +58,8 @@ ifneq (,$(findstring devel, $(VERSION)))
|
58 | 58 | overrideJADEFLAGS += -V draft-mode
|
59 | 59 | endif
|
60 | 60 |
|
| 61 | +# Enable some extra warnings |
| 62 | +overrideSPFLAGS += -wall -wno-unused-param -wno-empty |
61 | 63 |
|
62 | 64 | ##
|
63 | 65 | ## Man pages
|
@@ -86,7 +88,7 @@ all: html
|
86 | 88 |
|
87 | 89 | html: postgres.sgml$(ALLSGML) stylesheet.dsl
|
88 | 90 | @rm -f*.html
|
89 |
| -$(JADE)$(JADEFLAGS)$(SGMLINCLUDE)$(CATALOG) -d stylesheet.dsl -i output-html -t sgml$< |
| 91 | +$(JADE)$(JADEFLAGS)$(SPFLAGS)$(SGMLINCLUDE)$(CATALOG) -d stylesheet.dsl -i output-html -t sgml$< |
90 | 92 | ifeq ($(vpath_build), yes)
|
91 | 93 | @cp $(srcdir)/stylesheet.css .
|
92 | 94 | endif
|
@@ -220,7 +222,7 @@ testxml: stylesheet.xsl postgres.xml
|
220 | 222 |
|
221 | 223 | # Quick syntax check without style processing
|
222 | 224 | check: postgres.sgml$(ALLSGML)
|
223 |
| -$(NSGMLS)$(SGMLINCLUDE) -s$< |
| 225 | +$(NSGMLS)$(SPFLAGS)$(SGMLINCLUDE) -s$< |
224 | 226 |
|
225 | 227 |
|
226 | 228 | ##
|
|