freebsd-dev/release/doc/share
Bruce A. Mah aebd313860 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
2007-02-16 02:10:12 +00:00
..
examples Teach release builds and release documentation snapshots that release 2006-12-06 18:07:40 +00:00
misc Add support for auto-generating hardware notes entries in a 2007-02-16 02:10:12 +00:00
mk Add support for auto-generating hardware notes entries in a 2007-02-16 02:10:12 +00:00
sgml Add support for auto-generating hardware notes entries in a 2007-02-16 02:10:12 +00:00