4.104.114.95
Last change
on this file since 5ba5405 was
5ba5405,
checked in by Chris Johns <chrisj@…>, on 02/24/13 at 09:07:47
|
Update documentation. Lots more is needed before it is finished.
|
-
Property mode set to
100644
|
File size:
731 bytes
|
Line | |
---|
1 | # |
---|
2 | # Waf build script to build the Source Builder Documentation. |
---|
3 | # |
---|
4 | |
---|
5 | version = "1.0.0" |
---|
6 | |
---|
7 | def configure(ctx): |
---|
8 | ctx.env.ASCIIDOC = ctx.find_program(['asciidoc.py'], mandatory = True) |
---|
9 | ctx.env.ASCIIDOC_FLAGS = ['-b', 'html5', '-a', 'data-uri', '-a', 'icons', '-a', 'max-width=55em-a'] |
---|
10 | |
---|
11 | def build(ctx): |
---|
12 | ctx(target = 'source-builder.html', source = 'source-builder.txt') |
---|
13 | |
---|
14 | import waflib.TaskGen |
---|
15 | waflib.TaskGen.declare_chain(name = 'html', |
---|
16 | rule = '${ASCIIDOC} ${ASCIIDOC_FLAGS} -o ${TGT} ${SRC}', |
---|
17 | shell = False, |
---|
18 | ext_in = '.txt', |
---|
19 | ext_out = '.html', |
---|
20 | reentrant = False) |
---|
Note: See
TracBrowser
for help on using the repository browser.