import os Import('env osname installdir') subdirs = ['xstream'] SConscript(dirs=subdirs, exports='env osname installdir', duplicate=0)