#
# 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 $
#
#----------------------------------------------------------------------------
override JADEFLAGS += -V draft-mode
endif
+# Enable some extra warnings
+override SPFLAGS += -wall -wno-unused-param -wno-empty
##
## Man pages
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
# Quick syntax check without style processing
check: postgres.sgml $(ALLSGML)
- $(NSGMLS) $(SGMLINCLUDE) -s $<
+ $(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $<
##