X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;h=7350f38268d1efecc40ea74cead3e2657ca47cec;hb=a46724f6a51d4b14a2170976405530d0f5aef590;hp=60c1337d18bb181e4f5bf5a1ff530c4d7510fb68;hpb=e7184facd970e81cf2c0de5e9688bb7b6b70a305;p=senf.git diff --git a/Examples/SConscript b/Examples/SConscript index 60c1337..7350f38 100644 --- a/Examples/SConscript +++ b/Examples/SConscript @@ -15,7 +15,9 @@ 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' ]) + for dox in glob.glob("*/Doxyfile"): extra_sources = [ eval(line.split(':',1)[1])