From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 26 Jan 2007 23:51:39 +0000 (+0000)
Subject: Control openjade draft-mode by variable DRAFT, rather than whether the
X-Git-Tag: REL8_3_BETA1~1423
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adef25e5ea90f53556de7db197e9dee25eaa804c;p=postgresql

Control openjade draft-mode by variable DRAFT, rather than whether the
version tag is 'devel'.
---

diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index ea0e197dce..83dbf7874b 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.92 2007/01/26 22:23:49 momjian Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.93 2007/01/26 23:51:39 momjian Exp $
 #
 #----------------------------------------------------------------------------
 
@@ -53,7 +53,7 @@ CATALOG = -c $(DOCBOOKSTYLE)/catalog
 endif
 
 # Enable draft mode during development
-ifneq (,$(findstring devel, $(VERSION)))
+ifeq ($(DRAFT), Y)
 override JADEFLAGS += -V draft-mode
 endif