Some automagic in scons scripts