svn commit: r42436 - in projects/db5/share: mk xsl

Gabor Kovesdan gabor at FreeBSD.org
Thu Jul 25 20:56:30 UTC 2013


Author: gabor
Date: Thu Jul 25 20:56:29 2013
New Revision: 42436
URL: http://svnweb.freebsd.org/changeset/doc/42436

Log:
  - Remove index-related bits; indexes are now enabled by default

Modified:
  projects/db5/share/mk/doc.docbook.mk
  projects/db5/share/xsl/freebsd-common.xsl

Modified: projects/db5/share/mk/doc.docbook.mk
==============================================================================
--- projects/db5/share/mk/doc.docbook.mk	Thu Jul 25 09:47:06 2013	(r42435)
+++ projects/db5/share/mk/doc.docbook.mk	Thu Jul 25 20:56:29 2013	(r42436)
@@ -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/doc
 #
 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.

Modified: projects/db5/share/xsl/freebsd-common.xsl
==============================================================================
--- projects/db5/share/xsl/freebsd-common.xsl	Thu Jul 25 09:47:06 2013	(r42435)
+++ projects/db5/share/xsl/freebsd-common.xsl	Thu Jul 25 20:56:29 2013	(r42436)
@@ -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 -->


More information about the svn-doc-projects mailing list