From adef25e5ea90f53556de7db197e9dee25eaa804c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 26 Jan 2007 23:51:39 +0000 Subject: [PATCH] Control openjade draft-mode by variable DRAFT, rather than whether the version tag is 'devel'. --- doc/src/sgml/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0