From owner-cvs-all Wed Aug 15 22:19:56 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D719237B40B; Wed, 15 Aug 2001 22:19:51 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7G5Jpv72390; Wed, 15 Aug 2001 22:19:51 -0700 (PDT) (envelope-from dd) Message-Id: <200108160519.f7G5Jpv72390@freefall.freebsd.org> From: Dima Dorfman Date: Wed, 15 Aug 2001 22:19:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: doc/share/mk doc.docbook.mk doc/en_US.ISO8859-1/books/handbook Makefile X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dd 2001/08/15 22:19:51 PDT Modified files: share/mk doc.docbook.mk en_US.ISO8859-1/books/handbook Makefile Log: An increasing amount of documents use the -V flag to Jade via JADEFLAGS to set variables such as %generate-article-toc%. However, JADEFLAGS is also passed to nsgmls, which doesn't, and shouldn't, understand -V. The Makefiles which do this are correct, because the name--JADEFLAGS--implies that it will only be passed to Jade, not to nsgmls, too. Furthermore, simply not passing JADEFLAGS to nsgmls is not okay, since nsgmls *does* need the -i flags used to include/exclude certain parts of the document. Remedy this by breaking up JADEFLAGS into itself and SGMLFLAGS. The latter will be passed to all SGML processors such as nsgmls and Jade. The former will only be passed to Jade. The -V flags should stay in JADEFLAGS, and the -i flags should be moved to SGMLFLAGS. This fixes `make lint` for documents which use -V via JADEFLAGS. Reviewed by: bmah Revision Changes Path 1.43 +9 -4 doc/share/mk/doc.docbook.mk 1.44 +2 -2 doc/en_US.ISO8859-1/books/handbook/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message