projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4bf40
)
scons: List all targets.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 17 Jun 2011 19:11:50 +0000
(20:11 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 17 Jun 2011 19:13:16 +0000
(20:13 +0100)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index 6b725c4b6959a7f994ff1a5327cd2bfbb304195a..029daa1c6f35f57c2981c652e2ba13550e4e11ec 100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-143,3
+143,18
@@
SConscript(
duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
)
+
+########################################################################
+# List all aliases
+
+try:
+ from SCons.Node.Alias import default_ans
+except ImportError:
+ pass
+else:
+ aliases = default_ans.keys()
+ aliases.sort()
+ env.Help('\n')
+ env.Help('Recognized targets:\n')
+ for alias in aliases:
+ env.Help(' %s\n' % alias)