Un bit-rot the docbook manual build, just for kicks.

git-svn-id: svn://localhost/ardour2/branches/3.0@11039 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-21 00:55:57 +00:00
parent 06320b2ed3
commit 5c1e4e1c79
6 changed files with 12 additions and 11 deletions

View file

@ -2,7 +2,7 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "./entities.ent"> <!ENTITY % BOOK_ENTITIES SYSTEM "../../build/manual/ent/entities.ent">
%BOOK_ENTITIES; %BOOK_ENTITIES;
]> ]>

View file

@ -4,8 +4,8 @@
<!ENTITY BOOKDATE "2007-01-13"> <!-- change revision date here --> <!ENTITY BOOKDATE "2007-01-13"> <!-- change revision date here -->
<!ENTITY BOOKID "&BOOKNAME;-&BOOKVERSION; (&BOOKDATE;)"> <!ENTITY BOOKID "&BOOKNAME;-&BOOKVERSION; (&BOOKDATE;)">
<!ENTITY ARDOUR_NAME "ardour"> <!ENTITY ARDOUR_NAME "Ardour">
<!ENTITY ARDOUR_VERSION "%VERSION%"> <!ENTITY ARDOUR_VERSION "@VERSION@">
<!ENTITY ARDOUR_COMMAND "<command>ardour3</command>"> <!ENTITY ARDOUR_COMMAND "<command>ardour3</command>">
<!ENTITY ARDOUR_APPLICATION "<application>&ARDOUR_NAME;</application>"> <!ENTITY ARDOUR_APPLICATION "<application>&ARDOUR_NAME;</application>">
<!ENTITY COPYRIGHT_HOLDER "&ARDOUR_NAME; Foundation"> <!ENTITY COPYRIGHT_HOLDER "&ARDOUR_NAME; Foundation">

View file

@ -15,8 +15,7 @@
<para> <para>
Key commands such as <keycombo><keycap>Ctrl</keycap><keycap>a</keycap> Key commands such as <keycombo><keycap>Ctrl</keycap><keycap>a</keycap>
</keycombo> mean "Hold down the Ctrl key and press the 'a' key". New </keycombo> mean "Hold down the Ctrl key and press the 'a' key".
and important terms are written like this.
</para> </para>
<para> <para>
@ -26,7 +25,7 @@
<para> <para>
The name of a menu item is shown like <guimenuitem>This</guimenuitem>, The name of a menu item is shown like <guimenuitem>This</guimenuitem>,
and nested menu items will appear like <menuchoice> and nested menu items will appear as <menuchoice>
<guimenu>Menu</guimenu> <guisubmenu>Sub Menu</guisubmenu> <guimenu>Menu</guimenu> <guisubmenu>Sub Menu</guisubmenu>
</menuchoice> </menuchoice>
</para> </para>

View file

@ -4,10 +4,10 @@
version="1.0" version="1.0"
exclude-result-prefixes="exsl"> exclude-result-prefixes="exsl">
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl"/> <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/docbook.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk-common.xsl"/> <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk-common.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk-code.xsl"/> <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk-code.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/manifest.xsl"/> <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/manifest.xsl"/>
<xsl:param name="html.stylesheet" select="'ardour_manual.css'"/> <xsl:param name="html.stylesheet" select="'ardour_manual.css'"/>
<xsl:param name="html.stylesheet.type" select="'text/css'"/> <xsl:param name="html.stylesheet.type" select="'text/css'"/>

View file

@ -21,6 +21,7 @@ def build(bld):
templates = bld.path.ant_glob('*.template.in') templates = bld.path.ant_glob('*.template.in')
for t in templates: for t in templates:
obj = bld(features = 'subst') obj = bld(features = 'subst')
obj.name = 'template'
obj.source = [ t ] obj.source = [ t ]
dir_name = os.path.basename(t.srcpath()).replace('.template.in', '') dir_name = os.path.basename(t.srcpath()).replace('.template.in', '')
file_name = os.path.basename(t.srcpath()).replace('.in', '') file_name = os.path.basename(t.srcpath()).replace('.in', '')

View file

@ -34,7 +34,8 @@ children = [
'gtk2_ardour', 'gtk2_ardour',
'templates', 'templates',
'export', 'export',
'midi_maps' 'midi_maps',
'manual'
] ]
i18n_children = [ i18n_children = [