Changeset a24a84e


Ignore:
Timestamp:
Mar 26, 2017, 2:30:32 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
1239d23, 92f334f
Parents:
eff9f71
Message:

wscript: pass version to doxygen

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/web.cfg

    reff9f71 ra24a84e  
    3939# control system is used.
    4040
    41 PROJECT_NUMBER         = "0.4.5~alpha"
     41PROJECT_NUMBER         = "latest"
    4242
    4343# Using the PROJECT_BRIEF tag one can provide an optional one line description
  • wscript

    reff9f71 ra24a84e  
    442442    # build documentation from source files using doxygen
    443443    if bld.env['DOXYGEN']:
    444         bld( name = 'doxygen', rule = 'doxygen ${SRC} > /dev/null',
     444        bld.env.VERSION = VERSION
     445        rule = '( cat ${SRC} && echo PROJECT_NUMBER=${VERSION}; )'
     446        rule += ' | doxygen - > /dev/null'
     447        bld( name = 'doxygen', rule = rule,
    445448                source = 'doc/web.cfg',
    446449                target = '../doc/web/html/index.html',
Note: See TracChangeset for help on using the changeset viewer.