shithub: aubio

Download patch

ref: 69de807a7ebc14d17d873f2e3e99c49ade2759e7
parent: c6c20bedb19c749b0079dde002eca818a7edf46a
author: Martin Hermant <martin.hermant@gmail.com>
date: Thu Mar 16 15:13:24 EDT 2017

wscript : remove overload of bld.env.VERSION

--- a/wscript
+++ b/wscript
@@ -409,7 +409,6 @@
         from waflib import TaskGen
         if 'MANDIR' not in bld.env:
             bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
-        bld.env.VERSION = VERSION
         rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
         rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
         rule_str += ' -v ${PACKAGE}\\ User\\\'s\\ manual'
@@ -440,7 +439,6 @@
     # build documentation from source files using sphinx-build
     # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
     if bld.env['SPHINX']:
-        bld.env.VERSION = VERSION
         bld( name = 'sphinx',
                 rule = '${SPHINX} -b html -D release=${VERSION} -D version=${VERSION} -a -q `dirname ${SRC}` `dirname ${TGT}`',
                 source = 'doc/conf.py',