blob: 2147c5b08b58525e9f87d85f16315fe209035e99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#
# RTEMS Project Documentation
#
from sys import path
from os.path import abspath
path.append(abspath('common'))
import waf as docs_waf
build_all = ['bsp-howto',
'c-user',
'cpu-supplement',
'develenv',
'eclipse',
'filesystem',
'networking',
'posix-users',
'rsb',
'shell',
'user']
building = build_all
def options(opt):
docs_waf.cmd_options(opt)
def configure(conf):
for b in building:
conf.recurse(b)
conf.env['BUILD_FROM_TOP'] = 'yes'
def xml_catalogue(ctx):
docs_waf.xml_catalogue(ctx)
def build(ctx):
ctx.catalogue = {}
ctx.add_post_fun(xml_catalogue)
for b in building:
ctx.recurse(b)
ctx.install_files('${PREFIX}', 'catalogue.xml')
def install(ctx):
for b in building:
ctx.recurse(b)
|