Replace SENFSCons.InstallIncludeFiles with InstallSubdir builder calls
[senf.git] / Utils / Logger / SConscript
index 138b282..bb4f897 100644 (file)
@@ -5,13 +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','INet.hh') and not f.endswith('.test.hh') ])
-sources = SENFSCons.GlobSources()
-objects = SENFSCons.Objects( env, sources = sources, LIBS = [ 'Utils' ] )
+                               if ( f not in ('all_includes.hh','Logger.hh','SenfLog.hh')
+                                    and not f.endswith('.test.hh') ) ])
+
+sources, includes = SENFSCons.Glob(env)
 
+SENFSCons.Lib(env, sources)
 SENFSCons.Doxygen(env)
 
-Return('objects')
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)