Move debian and documentation specific parts of SConstruct into SConscript files
[senf.git] / senfscons / SENFSCons.py
index b6862e5..90b51c8 100644 (file)
@@ -556,3 +556,6 @@ def AllIncludesHH(env, headers):
     file(target.abspath,"w").write("".join([ '#include "%s"\n' % f
                                              for f in headers ]))
     env.Clean('all', target)
+
+def PhonyTarget(env, target, action, sources=[]):
+    env.AlwaysBuild(env.Alias(target, sources, env.Action(action)))