Skip to content
Snippets Groups Projects
Commit 4a43b24c authored by Neil Conway's avatar Neil Conway
Browse files

Enable some additional warnings when running openjade and onsgmls.

parent 64917ccb
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# PostgreSQL documentation makefile # 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))) ...@@ -58,6 +58,8 @@ ifneq (,$(findstring devel, $(VERSION)))
override JADEFLAGS += -V draft-mode override JADEFLAGS += -V draft-mode
endif endif
# Enable some extra warnings
override SPFLAGS += -wall -wno-unused-param -wno-empty
## ##
## Man pages ## Man pages
...@@ -86,7 +88,7 @@ all: html ...@@ -86,7 +88,7 @@ all: html
html: postgres.sgml $(ALLSGML) stylesheet.dsl html: postgres.sgml $(ALLSGML) stylesheet.dsl
@rm -f *.html @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) ifeq ($(vpath_build), yes)
@cp $(srcdir)/stylesheet.css . @cp $(srcdir)/stylesheet.css .
endif endif
...@@ -220,7 +222,7 @@ testxml: stylesheet.xsl postgres.xml ...@@ -220,7 +222,7 @@ testxml: stylesheet.xsl postgres.xml
# Quick syntax check without style processing # Quick syntax check without style processing
check: postgres.sgml $(ALLSGML) check: postgres.sgml $(ALLSGML)
$(NSGMLS) $(SGMLINCLUDE) -s $< $(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $<
## ##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment