Add a simple script to locate areas of a DocBook file where
<indexterms> are sparse. Also add makefile glue so that this may be invoked on the Handbook or any other document in the FDP tree by typing "make indexcheck". Sponsored by: FreeBSD Mall, Inc.
This commit is contained in:
parent
34ccdb09ce
commit
8a01141e46
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16770
2 changed files with 48 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ XSLTPROC?= ${PREFIX}/bin/xsltproc
|
|||
XSLHTML?= ${DOC_PREFIX}/share/xsl/freebsd-html.xsl
|
||||
XSLHTMLCHUNK?= ${DOC_PREFIX}/share/xsl/freebsd-html-chunk.xsl
|
||||
XSLFO?= ${DOC_PREFIX}/share/xsl/freebsd-fo.xsl
|
||||
INDEXREPORTSCRIPT= ${DOC_PREFIX}/share/misc/indexreport.pl
|
||||
|
||||
IMAGES_LIB?=
|
||||
|
||||
|
|
@ -686,6 +687,11 @@ spellcheck:
|
|||
@${HTML2TXT} ${HTML2TXTOPTS} ${.CURDIR}/${_entry} | ${ISPELL} ${ISPELLOPTS}
|
||||
.endfor
|
||||
|
||||
indexreport:
|
||||
.for _entry in ${SRCS:M*.sgml}
|
||||
@echo "indexreport ${_entry}"
|
||||
@${PERL} ${INDEXREPORTSCRIPT} ${.CURDIR}/${_entry}
|
||||
.endfor
|
||||
|
||||
#
|
||||
# Build a list of install-format targets to be installed. These will be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue