doc/share/mk
Dima Dorfman b72265ea42 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
2001-08-16 05:19:51 +00:00
..
doc.docbook.mk An increasing amount of documents use the -V flag to Jade via 2001-08-16 05:19:51 +00:00
doc.html.mk If running on the Alpha, use OpenJade. 2001-03-22 22:49:01 +00:00
doc.images.mk Add scr -> png -> eps support, so that we can build Randy's new 2001-08-14 21:51:25 +00:00
doc.install.mk Typo fixes 1999-10-13 00:42:21 +00:00
doc.project.mk ISO_* -> ISO* rename 2001-06-11 01:20:40 +00:00
doc.subdir.mk Bump the number of directories traversed to find LANGCODE to 10. This 2001-05-22 03:18:38 +00:00