aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-03-01 16:08:58 +0000
committerNeil Conway <neilc@samurai.com>2004-03-01 16:08:58 +0000
commit4a43b24cecc5705b47c2273f044540974f32eb15 (patch)
treee35388164610814af0f90109bbfa8dff4dbb128c
parent64917ccb561e52aac4efa07eabc6f653d296b1dc (diff)
downloadpostgresql-4a43b24cecc5705b47c2273f044540974f32eb15.tar.gz
postgresql-4a43b24cecc5705b47c2273f044540974f32eb15.zip
Enable some additional warnings when running openjade and onsgmls.
-rw-r--r--doc/src/sgml/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index f80cdffa74b..283e33fa92f 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -2,7 +2,7 @@
#
# PostgreSQL documentation makefile
#
-# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.64 2004/01/15 23:51:32 petere Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.65 2004/03/01 16:08:58 neilc Exp $
#
#----------------------------------------------------------------------------
@@ -58,6 +58,8 @@ ifneq (,$(findstring devel, $(VERSION)))
override JADEFLAGS += -V draft-mode
endif
+# Enable some extra warnings
+override SPFLAGS += -wall -wno-unused-param -wno-empty
##
## Man pages
@@ -86,7 +88,7 @@ all: html
html: postgres.sgml $(ALLSGML) stylesheet.dsl
@rm -f *.html
- $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -i output-html -t sgml $<
+ $(JADE) $(JADEFLAGS) $(SPFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -i output-html -t sgml $<
ifeq ($(vpath_build), yes)
@cp $(srcdir)/stylesheet.css .
endif
@@ -220,7 +222,7 @@ testxml: stylesheet.xsl postgres.xml
# Quick syntax check without style processing
check: postgres.sgml $(ALLSGML)
- $(NSGMLS) $(SGMLINCLUDE) -s $<
+ $(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $<
##