Commit Graph

13 Commits

Author SHA1 Message Date
Hiroki Sato
293283dc5b - Add an -o option to specify the output file.
- Make "die()" more verbose.
- Do not put extra blank lines into the output file.
- Normalize text by using numeric entities because
  some characters such as "'" can break the generated SGML.

Reviewed by:	simon
2004-08-08 09:23:49 +00:00
Simon L. B. Nielsen
4e702f5b14 Auto generate the device listings in the Hardware Notes based on
manual pages, to avoid duplicating work between the Hardware Notes and
manual pages.

Each text line in the output from the manual page parser is generated
as a SGML entity, making it possible for translators to only translate
lines which actually contains English text (this neat idea came from
hrs).

To determine which drivers are usable on which architectures the
dev.archlist.txt file is used to explicitly list this.  It it an
imperfect solution, but the best I have been able to come up with for
now.

This commit converts most of the devices which has a section 4 manual
page with a HARDWARE section to be the new auto generated format.

Reviewed in principle by:	ru, hrs, trhodes
Good ideas for improvements:	hrs
No objections:			-doc, re
2004-08-03 22:12:45 +00:00
Bruce A. Mah
d0e8afbf5a Provide a way to keep out old ("historic") release notes from bloating
the size of the rendered release notes.  By default, any element with
a role="historic" attribute won't get rendered in the output unless
the INCLUDE_HISTORIC Makefile variable is defined.
2002-06-20 21:19:49 +00:00
Bruce A. Mah
7d2c37712b Language-dependent catalogs for RELNOTESng should override
the language-independent catalog.

Tested by:	Alex Kapranoff <kapr@acm.org>
2001-07-17 00:46:10 +00:00
Bruce A. Mah
a2ddea9863 Better support for multi-lingual release documentation. We now support
language-dependant SGML catalogs (in ${LANG_CODE}/share/sgml) and also
use a default.dsl stylesheet similar to what the rest of the DocProj
documents use.

Requested by:	hrs, Alex Kapranoff <kapr@acm.org>
Reviewed by:	hrs, dd
MFC after:	2 days
2001-07-09 16:01:38 +00:00
Bruce A. Mah
0f8d184704 Back out 1.6->1.7 change; this wasn't supposed to get committed. 2001-07-04 17:53:48 +00:00
Bruce A. Mah
43ac759d7c New release notes: lpd(8) -c and -w, lpc(8) tclean, whois(1) recursive
lookups, moused(8) -a, binutils 2.11.2.

MFCs noted:  IPv6 update.
2001-07-04 17:52:46 +00:00
Dima Dorfman
7450e06249 Change the way the value of DESTDIR is determined for the release
notes build. Instead of having doc.relnotes.mk make a guess, hardcode
quite a bit (but as little as possible) in Makefile.inc's sprinkled
strategicly throughout the tree.  This has the advantage of actually
working properly (which is a Good Thing(tm)), and the disadvantages of
more files in the repository and more hardcoded paths (which are both
Bad Things(tm)).
2001-06-21 20:43:43 +00:00
Dima Dorfman
19980bc92d Don't hardcode in "/release/doc/"; instead, make it the default of a
new RELN_ANCHOR variable.  It may be necessary to override this if the
path to the checked out release notes tree doesn't end with
"release/doc".
2001-06-14 23:23:21 +00:00
Andrey A. Chernov
f2a2da8322 ISO_* -> ISO* rename 2001-06-11 01:48:17 +00:00
Bruce A. Mah
e758685bc9 More RELNOTESng infrastructure fixup: The directory layout of
stylesheets (particularly with respect to translations) is now similar
to that of the doc/ tree.  Added a customization for HTML page footers
(this is the only reader-visible change).
2001-05-03 21:59:35 +00:00
Bruce A. Mah
1eb55ff65d RELNOTESng infrastructure fixes:
1.  There is now only one RELNOTESng stylesheet; the architecture-specific
stylesheets (to handle different values of the arch= attribute) are gone.

2.  Several Makefile variable definitions were factored into
doc.relnotes.mk.

Submitted by:	dd
2001-05-02 22:02:50 +00:00
Dima Dorfman
703471ec7f Build system:
o Define a RELN_ROOT variable which points to the root of the relnotes
  tree (i.e., src/release/doc).
o By default, define DOC_PREFIX in terms of RELN_ROOT; this gives a
  bigger chance of finding the doc/ tree without help in the form of
  setting DOC_PREFIX on the command line.
o Respect DOCDIR; `make install` works now.

Approved by:	bmah
2001-04-29 21:05:12 +00:00