aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-04 02:19:08 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-04 02:19:08 +0000
commitd5d552fa01049547aa4e1f45f00357416ac11ed5 (patch)
treeb6cb087faffd69ed16dcab2db538d36a67fdd87c
parent6761a0309b1a611971a7138797cf38dab4618547 (diff)
downloadpostgresql-d5d552fa01049547aa4e1f45f00357416ac11ed5.tar.gz
postgresql-d5d552fa01049547aa4e1f45f00357416ac11ed5.zip
Add a note about how to check for bare < and & in SGML docs, before the
knowledge disappears again.
-rw-r--r--doc/src/sgml/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index f5f276fbe98..40eb31bb3a1 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.107 2008/08/25 15:34:05 alvherre Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.108 2008/10/04 02:19:08 tgl Exp $
#
#----------------------------------------------------------------------------
@@ -53,6 +53,9 @@ endif
# Enable some extra warnings
# -wfully-tagged needed to throw a warning on missing tags
# for older tool chains, 2007-08-31
+# Note: try "make SPFLAGS=-wxml" to catch a lot of other dubious constructs,
+# in particular < and & that haven't been made into entities. It's far too
+# noisy to turn on by default, unfortunately.
override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged
##