X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;h=9ef20a073359a11d0a5e6c91b35c88952c7248be;hb=fd884ba2ba992b5032c0644ade77613074216767;hp=60c1337d18bb181e4f5bf5a1ff530c4d7510fb68;hpb=e7184facd970e81cf2c0de5e9688bb7b6b70a305;p=senf.git diff --git a/Examples/SConscript b/Examples/SConscript index 60c1337..9ef20a0 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])