Replace SENFSCons.InstallIncludeFiles with InstallSubdir builder calls
[senf.git] / Utils / Logger / SConscript
index ab682dd..bb4f897 100644 (file)
@@ -5,14 +5,13 @@ import SENFSCons, glob
 
 ###########################################################################
 
-SENFSCons.StandardTargets(env)
-
 SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if ( f not in ('all_includes.hh','Logger.hh')
+                               if ( f not in ('all_includes.hh','Logger.hh','SenfLog.hh')
                                     and not f.endswith('.test.hh') ) ])
-sources = SENFSCons.GlobSources()
-objects = SENFSCons.Objects( env, sources = sources, LIBS = [ 'Utils' ] )
 
+sources, includes = SENFSCons.Glob(env)
+
+SENFSCons.Lib(env, sources)
 SENFSCons.Doxygen(env)
 
-Return('objects')
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)