projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump asdcplib for Debian Unstable build fix.
[libsub.git]
/
cscript
diff --git
a/cscript
b/cscript
index 6d2c61def609552a9f9df6da3f8c2834ef063a88..51e98452556d672c30a2f7df42f30ed2fdd1acb7 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-1,7
+1,7
@@
import os
def dependencies(target):
import os
def dependencies(target):
- return (('
libdcp', 'a86a0ae'),
)
+ return (('
asdcplib-cth', '162963e'), ('libcxml', 'v0.15.4')
)
def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
@@
-9,7
+9,7
@@
def build(target, options):
cmd += ' --static'
if target.distro == 'centos':
cmd += ' --disable-tests'
cmd += ' --static'
if target.distro == 'centos':
cmd += ' --disable-tests'
- if
target.distro == 'debian' and target.version == 'unstable'
:
+ if
(target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23')
:
target.append_with_space('CXXFLAGS', '-std=c++11')
if target.debug:
cmd += ' --enable-debug'
target.append_with_space('CXXFLAGS', '-std=c++11')
if target.debug:
cmd += ' --enable-debug'
@@
-24,7
+24,10
@@
def make_doxygen(target):
target.command('doxygen')
return os.path.abspath('build/doc/html')
target.command('doxygen')
return os.path.abspath('build/doc/html')
-def test(target):
+def test(target
, test
):
if target.platform != 'windows':
target.set('LC_ALL', 'C')
if target.platform != 'windows':
target.set('LC_ALL', 'C')
- target.command('run/tests')
+ if test is None:
+ target.command('run/tests')
+ else:
+ target.command('run/tests --run_test=%s' % test)