doc/share/mk
Xin LI f16a0c0531 Improve the docbook build infrastructure's index.sgml build process:
- Consider index.sgml as intermediate file, not dependency that ${DOC}.*
   require.  Instead, generate it on-the-fly when building ${DOC}.*.
   This solves the problem that index.sgml is generated for the first
   built target, but needs to be different from target to target.

   The affected targets are:
	index.html HTML.manifest
	${DOC}.html
	${DOC}.html-text
	${DOC}.rtf
	${DOC}.tex
	${DOC}.tex-pdf

   ${INDEX_SGML} target removed in favor of the on-the-fly build.

 - When building ${DOC}.rtf, add ${PRINT_INDEX} and ${LOCAL_IMAGES_PNG}
   as dependencies, eliminating the need of building ${DOC}.rtf without
   having to build ${DOC}.html beforehand.

 - Modifications against ${HTML_INDEX} and ${HTML_SPLIT_INDEX}:
	+ Add dependency to ${SRCS} and ${LOCAL_IMAGES_TXT} to force
	  index updates when necessary.
	+ Every build now causes index.sgml to be reinitialized.
	+ Depend on ${DOC}.* to generate index.sgml.

Submitted by:	"intron" <intron at intron ac>
PR:		docs/90255 (slightly changed version)
2005-12-13 08:03:57 +00:00
..
doc.common.mk Fix a build breakage when the www tree is unavailable. 2005-09-18 08:19:20 +00:00
doc.docbook.mk Improve the docbook build infrastructure's index.sgml build process: 2005-12-13 08:03:57 +00:00
doc.html.mk - Rework jade/openjade handling. 2005-08-30 19:32:46 +00:00
doc.images.mk Remove trailing whitespaces. 2004-07-23 18:58:56 +00:00
doc.install.mk Add refinements on mirrors.xml: 2003-11-24 18:26:35 +00:00
doc.project.mk Introduce doc.xml.mk and XMLDOCS variable to simplify build 2005-09-18 04:33:25 +00:00
doc.slides.mk Make HTML and PDF targets .OBJDIR clean. 2005-08-29 03:18:58 +00:00
doc.subdir.mk Fix COMPAT_SYMLINK for ja_JP.eucJP. 2005-10-05 13:57:35 +00:00
doc.xml.mk Merge changes from www/share/mk. 2005-10-04 17:19:44 +00:00