summaryrefslogtreecommitdiffstats
path: root/doc/reference/SConstruct
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2013-05-03 23:15:51 (GMT)
committerDirk Baechle <dl9obn@darc.de>2013-05-03 23:15:51 (GMT)
commit0947775a51fa7bdb446b40c08f417fe6ce1ebbdc (patch)
treef783e3547d18fdfb589c81aceb3d4251ecd20e2b /doc/reference/SConstruct
parent6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10 (diff)
downloadSCons-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/reference/SConstruct')
-rw-r--r--doc/reference/SConstruct13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/reference/SConstruct b/doc/reference/SConstruct
index b306b4f..f8b472e 100644
--- a/doc/reference/SConstruct
+++ b/doc/reference/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,7 @@ if (env.WhereIs('fop') or
env.DocbookXInclude('reference_xi.xml', 'main.xml')
env.DocbookXslt('reference.xml', 'reference_xi.xml',
xsl='../xslt/to_docbook.xslt')
-env.DocbookHtml('reference.html','reference.xml')
+env.DocbookHtml('index.html','reference.xml')
+env.DocbookHtmlChunked('index.html', 'reference.xml', base_dir='scons-reference/')
if has_pdf:
- env.DocbookPdf('reference.pdf','reference.xml')
+ env.DocbookPdf('scons-reference.pdf','reference.xml')