summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-14 16:38:50 +1000
committerChris Johns <chrisj@rtems.org>2014-05-14 16:38:50 +1000
commite249bd1db616a57f3c078a40cffd999cc60c1a78 (patch)
treedd673233ab9be5efffabba71d28727a17e9c4f96 /doc
parentdoc: Update the documentation for the new source and patch. (diff)
downloadrtems-source-builder-e249bd1db616a57f3c078a40cffd999cc60c1a78.tar.bz2
doc: Use the internal asciidoc tool.
Diffstat (limited to 'doc')
-rw-r--r--doc/wscript12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/wscript b/doc/wscript
index 449cec6..614ffbb 100644
--- a/doc/wscript
+++ b/doc/wscript
@@ -2,11 +2,19 @@
# Waf build script to build the Source Builder Documentation.
#
+import os.path
+
version = "1.0.0"
+asciidoc = os.path.join(os.getcwd(),
+ '..', 'source-builder', 'sb', 'asciidoc')
+
def configure(ctx):
- ctx.env.ASCIIDOC = ctx.find_program(['asciidoc.py'], mandatory = True)
- ctx.env.ASCIIDOC_FLAGS = ['-b', 'html5', '-a', 'data-uri', '-a', 'icons', '-a', 'max-width=55em-a']
+ ctx.env.ASCIIDOC = ctx.find_program(['asciidoc.py'],
+ path_list = [asciidoc],
+ mandatory = True)
+ ctx.env.ASCIIDOC_FLAGS = ['-b', 'html5', '-a', 'data-uri',
+ '-a', 'icons', '-a', 'max-width=55em-a']
def build(ctx):
ctx(target = 'source-builder.html', source = 'source-builder.txt')