aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-07-25 20:56:29 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-07-25 20:56:29 +0000
commit69b5fa65aae20fb1a9c6453491503c7c60a54fee (patch)
tree8af8c88352303fbea50fa683c59769949079b928
parent439a4926dd430b1bdb86b626423be63b82dd5c82 (diff)
downloaddoc-69b5fa65aae20fb1a9c6453491503c7c60a54fee.tar.gz
doc-69b5fa65aae20fb1a9c6453491503c7c60a54fee.zip
- Remove index-related bits; indexes are now enabled by default
Notes
Notes: svn path=/projects/db5/; revision=42436
-rw-r--r--share/mk/doc.docbook.mk16
-rw-r--r--share/xsl/freebsd-common.xsl2
2 files changed, 0 insertions, 18 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk
index 3112a02ccd..2f05f73fd5 100644
--- a/share/mk/doc.docbook.mk
+++ b/share/mk/doc.docbook.mk
@@ -23,9 +23,6 @@
# them need to be generated. Changing any file in
# SRCS causes the documents to be rebuilt.
#
-# HAS_INDEX This document has index terms and so an index
-# can be created if specified with GEN_INDEX.
-#
# ------------------------------------------------------------------------
#
@@ -34,11 +31,6 @@
# EXTRA_CATALOGS Additional catalog files that should be used by
# any XML processing applications.
#
-# GEN_INDEX If this document has an index (HAS_INDEX) and this
-# variable is defined, then index.xml will be added
-# to the list of dependencies for source files, and
-# collateindex.pl will be run to generate index.xml.
-#
# CSS_SHEET Full path to a CSS stylesheet suitable for DocBook.
# Default is ${DOC_PREFIX}/share/misc/docbook.css
#
@@ -96,14 +88,6 @@ CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
#
NO_SUBDIR= YES
-#
-# Index generation
-#
-
-.if defined(GEN_INDEX)
-XSLTPROCOPTS+= --param generate.index "1"
-.endif
-
# ------------------------------------------------------------------------
#
# Look at ${FORMATS} and work out which documents need to be generated.
diff --git a/share/xsl/freebsd-common.xsl b/share/xsl/freebsd-common.xsl
index 2090591cd7..c6e32d8cce 100644
--- a/share/xsl/freebsd-common.xsl
+++ b/share/xsl/freebsd-common.xsl
@@ -28,8 +28,6 @@
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
- <xsl:param name="generate.index" select="0"/>
-
<xsl:param name="graphic.default.extension">png</xsl:param>
<!-- No links in TOC -->