Changeset 59be50d for wscript


Ignore:
Timestamp:
Mar 23, 2017, 3:45:09 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
Children:
24c207f
Parents:
69de807
git-author:
Martin Hermant <martin.hermant@gmail.com> (03/16/17 19:15:07)
git-committer:
Paul Brossier <piem@piem.org> (03/23/17 15:45:09)
Message:

wscript set overloaded VERSION casted to string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r69de807 r59be50d  
    410410        if 'MANDIR' not in bld.env:
    411411            bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
     412        bld.env.VERSION = str(VERSION)
    412413        rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
    413414        rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
     
    440441    # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
    441442    if bld.env['SPHINX']:
     443        bld.env.VERSION = str(VERSION)
    442444        bld( name = 'sphinx',
    443445                rule = '${SPHINX} -b html -D release=${VERSION} -D version=${VERSION} -a -q `dirname ${SRC}` `dirname ${TGT}`',
Note: See TracChangeset for help on using the changeset viewer.