doc/share/mk
Murray Stokely 0361e0a8d3 Rework our index support.
* Add a new document-specific variable, HAS_INDEX, to specify if a
    given document is marked up with <indexterm> entries.

  * Rework the index support so that both HAS_INDEX and GEN_INDEX are
    checked before trying to generate an index for a document.

  * Only create index.sgml if both HAS_INDEX and GEN_INDEX are set.

This allows us to recursively build the documentation tree with
GEN_INDEX=1 and have it only try to create an index (very time
consuming) for the few documents that are ready for this.  Previously,
running "make GEN_INDEX=1" from the top of the doc tree would look for
index terms in every single document.

With this, I hope we can start building our docs with GEN_INDEX set on
freefall so that users browsing the HTML docs will get the benefit of
the index we've been hiding in CVS for 6 months.
2001-11-19 06:11:16 +00:00
..
doc.docbook.mk Rework our index support. 2001-11-19 06:11:16 +00:00
doc.html.mk Make the TIDYFLAGS/TIDYOPTS usage homologous to the rest of the make 2001-11-05 10:33:38 +00:00
doc.images.mk Make the TIDYFLAGS/TIDYOPTS usage homologous to the rest of the make 2001-11-05 10:33:38 +00:00
doc.install.mk Make build/install /usr/obj prefix clean. 2001-10-29 09:21:53 +00:00
doc.project.mk Add a declaration missing from the last commit. 2001-10-29 10:52:52 +00:00
doc.subdir.mk Make the TIDYFLAGS/TIDYOPTS usage homologous to the rest of the make 2001-11-05 10:33:38 +00:00