X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FSConscript;fp=Examples%2FSConscript;h=07095234b884566371958b6f695cc194e64523d9;hb=0cf6e472479e1ac54c061f80a2f1b3b9bc6a84c8;hp=9ef20a073359a11d0a5e6c91b35c88952c7248be;hpb=8871644fd9655c9e62384f6f39ce7c0c6c8dcf30;p=senf.git diff --git a/Examples/SConscript b/Examples/SConscript index 9ef20a0..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])