Replace SENFSCons.InstallIncludeFiles with InstallSubdir builder calls
[senf.git] / Utils / SConscript
index c679e5f..ef0872c 100644 (file)
@@ -1,11 +1,15 @@
 # -*- python -*-
 
 Import('env')
-import SatSCons
+import SENFSCons, glob, os.path
 
 ###########################################################################
 
-sources = SatSCons.GlobSources()
-SatSCons.StandardTargets(env)
-SatSCons.Lib(env, 'Utils', sources)
-SatSCons.Doxygen(env)
+sources, includes = SENFSCons.Glob(env, subdirs=[ 'impl' ])
+
+SENFSCons.Lib(env, sources)
+SENFSCons.Doxygen(env)
+
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)
+
+SConscript(glob.glob("*/SConscript"))