Completely refactor install targets
[senf.git] / Utils / Daemon / SConscript
index 2ca29de..a3ece3d 100644 (file)
@@ -5,13 +5,9 @@ import SENFSCons, glob
 
 ###########################################################################
 
-SENFSCons.StandardTargets(env)
-
-sources = SENFSCons.GlobSources()
-
-SENFSCons.Lib( env,
-               library = 'Utils_Daemon',
-               sources = sources,
-               LIBS = [ 'Logger', 'Scheduler', 'Socket', 'Utils' ] )
+sources, includes = SENFSCons.Glob(env)
 
+SENFSCons.StandardTargets(env)
+SENFSCons.Lib(env, sources)
 SENFSCons.Doxygen(env)
+SENFSCons.InstallIncludeFiles(env, includes)