From owner-cvs-src@FreeBSD.ORG Fri Feb 16 02:10:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5363F16A400; Fri, 16 Feb 2007 02:10:13 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 48D6713C478; Fri, 16 Feb 2007 02:10:13 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1G2ADng057719; Fri, 16 Feb 2007 02:10:13 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1G2AD49057718; Fri, 16 Feb 2007 02:10:13 GMT (envelope-from bmah) Message-Id: <200702160210.l1G2AD49057718@repoman.freebsd.org> From: "Bruce A. Mah" Date: Fri, 16 Feb 2007 02:10:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/release/doc/share/misc man2hwnotes.pl src/release/doc/share/mk doc.relnotes.mk src/release/doc/share/sgml Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 02:10:13 -0000 bmah 2007-02-16 02:10:12 UTC FreeBSD src repository Modified files: release/doc/share/misc man2hwnotes.pl release/doc/share/mk doc.relnotes.mk release/doc/share/sgml Makefile Log: Add support for auto-generating hardware notes entries in a manner consistent with the new MI-style hardware notes document. man2hwnotes.pl now defaults to generating entities for the MI-style hardware notes (i.e. hardware/article.sgml). A new -c option causes it to generate entities for the older MD-style hardware notes (i.e. hardware/common/dev.sgml). The Makefile infrastructure supplies the -c option to man2hwnotes.pl now unless the HWNOTES_MI Makefile variable is defined, so compatiblity is preserved for hardware notes translations that aren't converted to the new organization yet. As translations convert, they should define HWNOTES_MI in their hardware/Makefile. When all the relevant translations catch up, the compatibility goop in share/mk/doc.relnotes.mk and share/sgml/Makefile can be removed. Thanks go to simon@ for help with the backwards compatiblity mechanism. Tested with: en_US.ISO8859-1, zh_CN.GB2312 Revision Changes Path 1.14 +22 -6 src/release/doc/share/misc/man2hwnotes.pl 1.14 +6 -1 src/release/doc/share/mk/doc.relnotes.mk 1.3 +1 -1 src/release/doc/share/sgml/Makefile