mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 06:07:31 -04:00
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
This commit is contained in:
parent
e25e8ab41c
commit
a2ddea9863
2 changed files with 13 additions and 3 deletions
9
release/doc/en_US.ISO8859-1/share/sgml/catalog
Normal file
9
release/doc/en_US.ISO8859-1/share/sgml/catalog
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- FreeBSD SGML Public Identifiers --
|
||||
-- Language-specific --
|
||||
|
||||
-- $FreeBSD$ --
|
||||
|
||||
PUBLIC "-//FreeBSD//DOCUMENT Release Notes DocBook Stylesheet//EN"
|
||||
"release.dsl"
|
||||
|
||||
|
||||
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
DOC_PREFIX?= ${RELN_ROOT}/../../../doc
|
||||
|
||||
# Find the RELNOTESng document catalog
|
||||
# Find the RELNOTESng document catalogs
|
||||
EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
|
||||
EXTRA_CATALOGS+= ${RELN_ROOT}/${LANGCODE}/share/sgml/catalog
|
||||
|
||||
# Use the appropriate architecture-dependent RELNOTESng stylesheet
|
||||
DSLHTML?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
|
||||
DSLPRINT?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
|
||||
DSLHTML?= ${RELN_ROOT}/share/sgml/default.dsl
|
||||
DSLPRINT?= ${RELN_ROOT}/share/sgml/default.dsl
|
||||
|
|
|
|||
Loading…
Reference in a new issue