X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSConscript;h=c81d6093fde48ef747c58002d8da8ab68518bd8b;hb=2d88e6b3f5a6f3906e42264f58859e6bf9c12dae;hp=62838d199cedc26209ea347c1d80a398ad63e660;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/SConscript b/senf/SConscript index 62838d1..c81d609 100644 --- a/senf/SConscript +++ b/senf/SConscript @@ -9,6 +9,9 @@ import SENFSCons, glob, os if not env.GetOption('clean') and not os.path.exists("local_config.hh"): Execute(Touch("local_config.hh")) -SConscript(glob.glob("*/SConscript")) +# Ext/SConscript is last so it can depend on env vars set by any other script +# (e.g. $PACKET_BUNDLES) +SConscript(list(set(glob.glob("*/SConscript")) - set(("Ext/SConscript",)))) +SConscript("Ext/SConscript") -env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = [ 'config.hh' ]) +env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = [ 'config.hh', 'local_config.hh' ])