X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;h=9ef20a073359a11d0a5e6c91b35c88952c7248be;hb=7d62c38fca85add3e5a04f0518d6f1417fa6ca69;hp=b8e27677746a90d0a3f2287d66a7e6ff50d4c620;hpb=2a4fe188bb262a1affe14939111bd73f8dcbfed8;p=senf.git diff --git a/Examples/SConscript b/Examples/SConscript index b8e2767..9ef20a0 100644 --- a/Examples/SConscript +++ b/Examples/SConscript @@ -15,8 +15,8 @@ for sconstruct in glob.glob("*/SConstruct"): [ '$SCONS -C $EXAMPLEDIR' ], CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir) env.Alias('examples', example) - if env.GetOption('clean') and 'all' in BUILD_TARGETS or 'examples' in BUILD_TARGETS: - env.Clone(CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir).Execute([ '.$SCONS -C $EXAMPLEDIR -c' ]) + if env.GetOption('clean') and ('all' in BUILD_TARGETS or 'examples' in BUILD_TARGETS): + env.Clone(CONCURRENCY_LEVEL=1, EXAMPLEDIR=dir).Execute([ '$SCONS -C $EXAMPLEDIR -c' ]) for dox in glob.glob("*/Doxyfile"):