From 69b5fa65aae20fb1a9c6453491503c7c60a54fee Mon Sep 17 00:00:00 2001 From: Gabor Kovesdan Date: Thu, 25 Jul 2013 20:56:29 +0000 Subject: [PATCH] - Remove index-related bits; indexes are now enabled by default --- share/mk/doc.docbook.mk | 16 ---------------- share/xsl/freebsd-common.xsl | 2 -- 2 files changed, 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 @@ - - png