aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/Makefile
diff options
context:
space:
mode:
authorCeri Davies <ceri@FreeBSD.org>2003-09-18 16:43:36 +0000
committerCeri Davies <ceri@FreeBSD.org>2003-09-18 16:43:36 +0000
commitbddac34733df394e1ffe7dbd961be4414b5bb8c0 (patch)
tree2b1f2be0571bf034a42c41f90551ab1908af1f65 /en_US.ISO8859-1/books/handbook/Makefile
parentb8494fd2f54f651f857906446c130e44a8fbe938 (diff)
downloaddoc-bddac34733df394e1ffe7dbd961be4414b5bb8c0.tar.gz
doc-bddac34733df394e1ffe7dbd961be4414b5bb8c0.zip
Add a skeleton FreeBSD specific glossary, and the appropriate glue to the
handbook to allow it to be incorporated in the build. This is not on by default at the moment, and users who want it will need to set WITH_GLOSSARY to a non-empty string when building ("make WITH_GLOSSARY=yes" being the common case). It is expected that committers will help to flesh out the glossary before it is connected to the build by default; the current entries have been chosen to illustrate the way that DocBook allows for "See also" and "See" in the glossary elements. This commit also takes the index out of the appendices in the handbook, as this is not the usual place for an index to sit in a book, and moves it to the end of the book.
Notes
Notes: svn path=/head/; revision=18152
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/Makefile')
-rw-r--r--en_US.ISO8859-1/books/handbook/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/en_US.ISO8859-1/books/handbook/Makefile b/en_US.ISO8859-1/books/handbook/Makefile
index 16bd023bd9..319dd9f3b9 100644
--- a/en_US.ISO8859-1/books/handbook/Makefile
+++ b/en_US.ISO8859-1/books/handbook/Makefile
@@ -31,6 +31,7 @@ DOC?= book
FORMATS?= html-split
HAS_INDEX= true
+WITH_GLOSSARY?=
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
@@ -172,6 +173,9 @@ SYMLINKS= ${DESTDIR} index.html handbook.html
CHAPTERS?= ${SRCS:M*chapter.sgml}
SGMLFLAGS+= ${CHAPTERS:S/\/chapter.sgml//:S/^/-i chap./}
+.if defined(WITH_GLOSSARY) && !empty(WITH_GLOSSARY)
+SGMLFLAGS+= -i chap.freebsd-glossary
+.endif
# XXX The Handbook build currently overflows some internal, hardcoded
# limits in pdftex. Until we split the Handbook up, build the PDF