diff --git a/PPI/SConscript b/PPI/SConscript
index 50962cd6a992c368464f558d07bdbd7ab0653edc..d74fc60356683094212ca497d0738e1a5243f4b8 100644
--- a/PPI/SConscript
+++ b/PPI/SConscript
@@ -7,9 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','PPI.hh') \
-                                  and not f.endswith('.test.hh') ])
+SENFSCons.AllIncludesHH(env, exclude = ['PPI.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env, subdirs=[ 'detail' ])
 
diff --git a/SConstruct b/SConstruct
index 7cf0362731cd802a138a7d6112d6fc59adcb8ab1..a972bf40e622ed42afe3b3b899a4106d37ff07ad 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,6 +1,6 @@
 # -*- python -*-
 
-import sys, glob, os.path, datetime, pwd, time, fnmatch, string
+import sys, glob, os.path, fnmatch
 sys.path.append(Dir('#/senfscons').abspath)
 sys.path.append(Dir('#/doclib').abspath)
 import SENFSCons, senfutil
@@ -172,7 +172,7 @@ env.PhonyTarget('valgrind', [ 'all_tests' ], [ """
 #### clean
 env.Clean('all', '.prepare-stamp')
 env.Clean('all', libsenf)
-env.Clean('all', 'linklint')
+env.Clean('all', env.Dir('linklint')) # env.Dir to disambiguate from linklint PhonyTarget
 
 if env.GetOption('clean'):
     env.Clean('all', [ os.path.join(path,f)
diff --git a/Socket/Protocols/DVB/SConscript b/Socket/Protocols/DVB/SConscript
index e1c3df49e59f857a8305951ceaa2f2654c5793ec..abbb591114b15b944e99dc844875f7ad3aff8c83 100644
--- a/Socket/Protocols/DVB/SConscript
+++ b/Socket/Protocols/DVB/SConscript
@@ -7,8 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','DVB.hh') and not f.endswith('.test.hh') ])
+SENFSCons.AllIncludesHH(env, exclude=['DVB.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Socket/Protocols/INet/SConscript b/Socket/Protocols/INet/SConscript
index 9de80d5c567387eb73fdffc40594cbfb783d8475..4ef2133294954a0a320edc557ec9bb04d12d38f5 100644
--- a/Socket/Protocols/INet/SConscript
+++ b/Socket/Protocols/INet/SConscript
@@ -7,8 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-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') ])
+SENFSCons.AllIncludesHH(env, exclude=['INet.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Socket/Protocols/Raw/SConscript b/Socket/Protocols/Raw/SConscript
index 5f6b22318bf4a6cc59be1601206c6e74ed37724c..a75c7546a9f9d7629366a8b2787e6c09de32498d 100644
--- a/Socket/Protocols/Raw/SConscript
+++ b/Socket/Protocols/Raw/SConscript
@@ -7,8 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','Raw.hh') and not f.endswith('.test.hh') ])
+SENFSCons.AllIncludesHH(env, exclude=['Raw.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Socket/Protocols/UN/SConscript b/Socket/Protocols/UN/SConscript
index 6366cfd1b6c9735bbeb6c67c387563148b1e2b32..33e12acf9eecd0e6060455d956da33b3004806d8 100644
--- a/Socket/Protocols/UN/SConscript
+++ b/Socket/Protocols/UN/SConscript
@@ -7,8 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','UN.hh') and not f.endswith('.test.hh') ])
+SENFSCons.AllIncludesHH(env, exclude=['UN.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Socket/SConscript b/Socket/SConscript
index aac2ec5e5b9c6d249e321f1fe2df177b4e5488de..2e9bd62a5a19a007c010d7c8a6a35f862f88d566 100644
--- a/Socket/SConscript
+++ b/Socket/SConscript
@@ -7,8 +7,7 @@ import SENFSCons, glob
 
 SConscript(glob.glob("*/SConscript"))
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ])
+SENFSCons.AllIncludesHH(env, exclude=['Socket.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Utils/Logger/SConscript b/Utils/Logger/SConscript
index af32a01651765599595dcc255eb68363f6751b34..dd2bd2395911ebc6d3e62272e2ea2e918622351d 100644
--- a/Utils/Logger/SConscript
+++ b/Utils/Logger/SConscript
@@ -5,9 +5,7 @@ import SENFSCons, glob
 
 ###########################################################################
 
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
-                               if ( f not in ('all_includes.hh','Logger.hh','SenfLog.hh')
-                                    and not f.endswith('.test.hh') ) ])
+SENFSCons.AllIncludesHH(env, exclude=['Logger.hh','SenfLog.hh'])
 
 sources, tests, includes = SENFSCons.Glob(env)
 
diff --git a/Utils/Termlib/SConscript b/Utils/Termlib/SConscript
index 9ec49886ad1e747be55b79db75424787e84f4c73..9d1978ac79618892b22eec0f52bfbbb8c0f29294 100644
--- a/Utils/Termlib/SConscript
+++ b/Utils/Termlib/SConscript
@@ -11,4 +11,4 @@ env.Append(ALLOBJECTS = env.Object(sources))
 env.BoostUnitTest('test', tests)
 SENFSCons.Doxygen(env)
 env.InstallSubdir('$INCLUDEINSTALLDIR', includes)
-env.Program('telnetSserver', ['telnetServer.cc'])
+env.Program('telnetServer', ['telnetServer.cc'])
diff --git a/debian/SConscript b/debian/SConscript
index 548c560ae622350691ecd7119159635a18d7a7f1..1233a2e6edc17e29a8f5a1e62bc26183a75515e8 100644
--- a/debian/SConscript
+++ b/debian/SConscript
@@ -1,7 +1,7 @@
 # -*- python -*-
 
 Import('env')
-import SENFSCons, os
+import SENFSCons, os, os.path, pwd, time, string
 
 ###########################################################################
 
diff --git a/senfscons/SENFSCons.py b/senfscons/SENFSCons.py
index bdb44f001d5187bac89e1185130e9fb22cf87e14..ba49af59335b3c5232610f377f2c39eaf204710c 100644
--- a/senfscons/SENFSCons.py
+++ b/senfscons/SENFSCons.py
@@ -79,7 +79,10 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []):
 
     return doc
 
-def AllIncludesHH(env, headers):
+def AllIncludesHH(env, exclude=[]):
+    exclude = exclude[:] + ['all_includes.hh'] # Make a copy !!
+    headers = [ f for f in glob.glob("*.hh")
+                if f not in exclude and not f.endswith('.test.hh') ]
     headers.sort()
     target = env.File("all_includes.hh")
     file(target.abspath,"w").write("".join([ '#include "%s"\n' % f