diff options
author | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 23:15:51 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 23:15:51 (GMT) |
commit | 0947775a51fa7bdb446b40c08f417fe6ce1ebbdc (patch) | |
tree | f783e3547d18fdfb589c81aceb3d4251ecd20e2b /doc/design/SConstruct | |
parent | 6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10 (diff) | |
download | SCons-0947775a51fa7bdb446b40c08f417fe6ce1ebbdc.zip SCons-0947775a51fa7bdb446b40c08f417fe6ce1ebbdc.tar.gz SCons-0947775a51fa7bdb446b40c08f417fe6ce1ebbdc.tar.bz2 |
- relinked the build of all documentation outputs to the bootstrap process
- corrected the doc folder SConscripts and added XSL and titlepage files where required
Diffstat (limited to 'doc/design/SConstruct')
-rw-r--r-- | doc/design/SConstruct | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/design/SConstruct b/doc/design/SConstruct index 675a0b7..d7ed6fe 100644 --- a/doc/design/SConstruct +++ b/doc/design/SConstruct @@ -28,12 +28,14 @@ import os env = Environment(ENV={'PATH' : os.environ['PATH']}, tools=['docbook'], - toolpath=['../../src/engine/SCons/Tool']) + toolpath=['../../src/engine/SCons/Tool'], + DOCBOOK_DEFAULT_XSL_HTML='html.xsl', + DOCBOOK_DEFAULT_XSL_HTMLCHUNKED='chtml.xsl', + DOCBOOK_DEFAULT_XSL_PDF='pdf.xsl') has_pdf = False if (env.WhereIs('fop') or - env.WhereIs('xep') or - env.WhereIs('jw')): + env.WhereIs('xep')): has_pdf = True # @@ -42,6 +44,6 @@ if (env.WhereIs('fop') or env.DocbookXInclude('design_xi.xml', 'main.xml') env.DocbookXslt('design.xml', 'design_xi.xml', xsl='../xslt/to_docbook.xslt') -env.DocbookHtml('design.html','design.xml') +env.DocbookHtmlChunked('index.html','design.xml', base_dir='scons-design/') if has_pdf: - env.DocbookPdf('design.pdf','design.xml') + env.DocbookPdf('scons-design.pdf','design.xml') |