summaryrefslogblamecommitdiffstats
path: root/wscript
blob: eff11134c7fef73bd6988c5c76ee1adca7680b76 (plain) (tree)
1
2
3
4
5
6
7
8
9







                              
             

                      

                         
                              

                        
                          

                           
                   

                     








                             

                                      

                                         
 


                      


                                              



                      
#
# RTEMS Project Documentation
#

from sys import path
from os.path import abspath
path.append(abspath('common'))

import waflib
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 catalogue(ctx):
    docs_waf.xml_catalogue(ctx, building)

def build(ctx):
    for b in building:
        ctx.recurse(b)
    ctx(rule = catalogue,
        target = 'catalogue.xml',
        source = ['wscript', 'common/waf.py'])

def install(ctx):
    for b in building:
        ctx.recurse(b)