summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:11:50 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:13:16 +0100
commit10562fbc5c630b7f1a97344bc3d6b2649c7393a5 (patch)
tree2788300bb6e75edf2d5f1033f2a0991b38a0272d /SConstruct
parentef4bf40db03ff1df2bae2db8f4a65421bf4a7c06 (diff)
downloadexternal_mesa3d-10562fbc5c630b7f1a97344bc3d6b2649c7393a5.zip
external_mesa3d-10562fbc5c630b7f1a97344bc3d6b2649c7393a5.tar.gz
external_mesa3d-10562fbc5c630b7f1a97344bc3d6b2649c7393a5.tar.bz2
scons: List all targets.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct15
1 files changed, 15 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 6b725c4..029daa1 100644
--- 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)