From owner-cvs-doc@FreeBSD.ORG Tue Dec 13 08:04:05 2005 Return-Path: X-Original-To: cvs-doc@FreeBSD.org Delivered-To: cvs-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA12D16A41F; Tue, 13 Dec 2005 08:04:05 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8237843D77; Tue, 13 Dec 2005 08:03:58 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBD83wT1025009; Tue, 13 Dec 2005 08:03:58 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBD83wTo025008; Tue, 13 Dec 2005 08:03:58 GMT (envelope-from delphij) Message-Id: <200512130803.jBD83wTo025008@repoman.freebsd.org> From: Xin LI Date: Tue, 13 Dec 2005 08:03:57 +0000 (UTC) To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: doc/share/mk doc.docbook.mk X-BeenThere: cvs-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the doc and www trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 08:04:06 -0000 delphij 2005-12-13 08:03:57 UTC FreeBSD doc repository Modified files: share/mk doc.docbook.mk Log: 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" PR: docs/90255 (slightly changed version) Revision Changes Path 1.123 +29 -17 doc/share/mk/doc.docbook.mk