Skip to content

Commit 4a43b24

Browse files
author
Neil Conway
committed
Enable some additional warnings when running openjade and onsgmls.
1 parent 64917cc commit 4a43b24

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
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 $
66
#
77
#----------------------------------------------------------------------------
88

@@ -58,6 +58,8 @@ ifneq (,$(findstring devel, $(VERSION)))
5858
override JADEFLAGS += -V draft-mode
5959
endif
6060

61+
# Enable some extra warnings
62+
override SPFLAGS += -wall -wno-unused-param -wno-empty
6163

6264
##
6365
## Man pages
@@ -86,7 +88,7 @@ all: html
8688

8789
html: postgres.sgml $(ALLSGML) stylesheet.dsl
8890
@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 $<
9092
ifeq ($(vpath_build), yes)
9193
@cp $(srcdir)/stylesheet.css .
9294
endif
@@ -220,7 +222,7 @@ testxml: stylesheet.xsl postgres.xml
220222

221223
# Quick syntax check without style processing
222224
check: postgres.sgml $(ALLSGML)
223-
$(NSGMLS) $(SGMLINCLUDE) -s $<
225+
$(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $<
224226

225227

226228
##

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy