Changeset 9aa52b9 in rtems-docs


Ignore:
Timestamp:
01/10/17 11:34:47 (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, am, master
Children:
ecf82d1
Parents:
782b4fe
Message:

waf: Add a title to the XML Catalogue.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/waf.py

    r782b4fe r9aa52b9  
    314314    cmd_configure(ctx)
    315315
    316 def xml_catalogue(ctx, building):
     316def xml_catalogue(ctx, building, title):
    317317    #
    318318    # The following is a hack to find the top_dir because the task does
     
    353353    root.setAttribute('date', 'today')
    354354    cat.appendChild(root)
     355
     356    heading = cat.createElement('catalogue')
     357    text = cat.createTextNode(title)
     358    heading.appendChild(text)
     359    root.appendChild(heading)
    355360
    356361    builds = ['html']
  • wscript

    r782b4fe r9aa52b9  
    1010import waf as docs_waf
    1111
    12 build_all = ['bsp-howto',
     12version = 'Master (4.11.99)'
     13
     14build_all = ['user',
     15             'rsb',
    1316             'c-user',
     17             'bsp-howto',
     18             'posix-users',
     19             'filesystem',
     20             'networking',
     21             'shell',
    1422             'cpu-supplement',
    1523             'develenv',
    16              'eclipse',
    17              'filesystem',
    18              'networking',
    19              'posix-users',
    20              'rsb',
    21              'shell',
    22              'user']
     24             'eclipse']
    2325
    2426building = build_all
     
    3335
    3436def catalogue(ctx):
    35     docs_waf.xml_catalogue(ctx, building)
     37    docs_waf.xml_catalogue(ctx, building, version)
    3638
    3739def build(ctx):
     
    4143        target = 'catalogue.xml',
    4244        source = ['wscript', 'common/waf.py'])
     45    ctx.install_files('${PREFIX}', 'catalogue.xml')
    4346
    4447def install(ctx):
Note: See TracChangeset for help on using the changeset viewer.