Replace SENFSCons.InstallIncludeFiles with InstallSubdir builder calls
[senf.git] / Scheduler / SConscript
index ef26f80..6113f90 100644 (file)
@@ -5,10 +5,9 @@ import SENFSCons
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
-SENFSCons.StandardTargets(env)
-SENFSCons.Lib(env,
-             library = 'Scheduler',
-             sources = sources,
-             LIBS = [ 'Socket', 'Utils' ])
+sources, includes = SENFSCons.Glob(env)
+
+SENFSCons.Lib(env, sources)
 SENFSCons.Doxygen(env)
+
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)