X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;h=07095234b884566371958b6f695cc194e64523d9;hb=HEAD;hp=7350f38268d1efecc40ea74cead3e2657ca47cec;hpb=3a89de27838820f859f586854574b19eeca9a559;p=senf.git diff --git a/Examples/SConscript b/Examples/SConscript index 7350f38..0709523 100644 --- a/Examples/SConscript +++ b/Examples/SConscript @@ -10,14 +10,7 @@ SENFSCons.IndexPage(env, 'Mainpage.dox', title="Examples") SENFSCons.Doxygen(env) for sconstruct in glob.glob("*/SConstruct"): - dir=env.File(sconstruct).dir - example=env.Command(dir.File('.example.phony'), env.Alias('default'), - [ '$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' ]) - + SENFSCons.BuildExample(env, sconstruct) for dox in glob.glob("*/Doxyfile"): extra_sources = [ eval(line.split(':',1)[1])