Replace SENFSCons.InstallIncludeFiles with InstallSubdir builder calls
[senf.git] / Scheduler / SConscript
index 3ea2bc1..6113f90 100644 (file)
@@ -1,14 +1,13 @@
 # -*- python -*-
 
 Import('env')
-import SatSCons
+import SENFSCons
 
 ###########################################################################
 
-sources = SatSCons.GlobSources()
-SatSCons.StandardTargets(env)
-SatSCons.Lib(env,
-             library = 'Scheduler',
-             sources = sources,
-             LIBS = [ 'Socket', 'Utils' ])
-SatSCons.Doxygen(env, sources, SatSCons.DoxyGlob())
+sources, includes = SENFSCons.Glob(env)
+
+SENFSCons.Lib(env, sources)
+SENFSCons.Doxygen(env)
+
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)