diff options
author | Chris Johns <chrisj@rtems.org> | 2014-05-14 16:38:50 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-05-14 16:38:50 +1000 |
commit | e249bd1db616a57f3c078a40cffd999cc60c1a78 (patch) | |
tree | dd673233ab9be5efffabba71d28727a17e9c4f96 /doc | |
parent | doc: Update the documentation for the new source and patch. (diff) | |
download | rtems-source-builder-e249bd1db616a57f3c078a40cffd999cc60c1a78.tar.bz2 |
doc: Use the internal asciidoc tool.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/wscript | 12 |
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') |