diff options
author | bmah <bmah@FreeBSD.org> | 2002-06-20 21:19:49 +0000 |
---|---|---|
committer | bmah <bmah@FreeBSD.org> | 2002-06-20 21:19:49 +0000 |
commit | d0fe7ef0c80799f14a11f30e2a23335c2c83bfa2 (patch) | |
tree | e9b57d9b1c7a60bb2e7c1e6382106995f9ad1a26 /release/doc/share/mk/doc.relnotes.mk | |
parent | 3c1b590b1703814b73c679c7f60d34e347d29da9 (diff) | |
download | FreeBSD-src-d0fe7ef0c80799f14a11f30e2a23335c2c83bfa2.zip FreeBSD-src-d0fe7ef0c80799f14a11f30e2a23335c2c83bfa2.tar.gz |
Provide a way to keep out old ("historic") release notes from bloating
the size of the rendered release notes. By default, any element with
a role="historic" attribute won't get rendered in the output unless
the INCLUDE_HISTORIC Makefile variable is defined.
Diffstat (limited to 'release/doc/share/mk/doc.relnotes.mk')
-rw-r--r-- | release/doc/share/mk/doc.relnotes.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk index 546ad9f..0335640 100644 --- a/release/doc/share/mk/doc.relnotes.mk +++ b/release/doc/share/mk/doc.relnotes.mk @@ -9,3 +9,20 @@ EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog # Use the appropriate architecture-dependent RELNOTESng stylesheet DSLHTML?= ${RELN_ROOT}/share/sgml/default.dsl DSLPRINT?= ${RELN_ROOT}/share/sgml/default.dsl + +# +# Tweakable Makefile variables +# +# INCLUDE_HISTORIC Used by relnotes document only. When set, +# causes all release notes entries to be printed, +# even those marked as "historic". If not set +# (the default), only print "non-historic" +# release note entries. To designate a release +# note entry as "historic", add a role="historic" +# attribute to the applicable element(s). +# +.if defined(INCLUDE_HISTORIC) +JADEFLAGS+= -iinclude.historic +.else +JADEFLAGS+= -ino.include.historic +.endif |