Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    ra24a84e rbadb525  
    1515APPNAME = 'aubio'
    1616
    17 from this_version import *
    18 
    19 VERSION = get_aubio_version()
    20 LIB_VERSION = get_libaubio_version()
     17# source VERSION
     18for l in open('VERSION').readlines(): exec (l.strip())
     19
     20VERSION = '.'.join ([str(x) for x in [
     21    AUBIO_MAJOR_VERSION,
     22    AUBIO_MINOR_VERSION,
     23    AUBIO_PATCH_VERSION
     24    ]]) + AUBIO_VERSION_STATUS
     25
     26LIB_VERSION = '.'.join ([str(x) for x in [
     27    LIBAUBIO_LT_CUR,
     28    LIBAUBIO_LT_REV,
     29    LIBAUBIO_LT_AGE]])
    2130
    2231top = '.'
     
    442451    # build documentation from source files using doxygen
    443452    if bld.env['DOXYGEN']:
    444         bld.env.VERSION = VERSION
    445         rule = '( cat ${SRC} && echo PROJECT_NUMBER=${VERSION}; )'
    446         rule += ' | doxygen - > /dev/null'
    447         bld( name = 'doxygen', rule = rule,
     453        bld( name = 'doxygen', rule = 'doxygen ${SRC} > /dev/null',
    448454                source = 'doc/web.cfg',
    449455                target = '../doc/web/html/index.html',
Note: See TracChangeset for help on using the changeset viewer.