projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Move debian and documentation specific parts of SConstruct into SConscript files
[senf.git]
/
senfscons
/
SENFSCons.py
diff --git
a/senfscons/SENFSCons.py
b/senfscons/SENFSCons.py
index
b6862e5
..
90b51c8
100644
(file)
--- a/
senfscons/SENFSCons.py
+++ b/
senfscons/SENFSCons.py
@@
-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)))