Module: Mesa
Branch: master
Commit: f6a16dfa9714c33a16cae3826dec7806be6c21cd
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a16dfa9714c33a16cae3826dec7806be6c21cd

Author: José Fonseca <jfons...@vmware.com>
Date:   Wed Feb 10 20:23:10 2010 +0000

scons: Only build progs when explicitly requested in the command line.

---

 SConstruct |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/SConstruct b/SConstruct
index 2e00ec4..964af7e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -225,8 +225,9 @@ SConscript(
        duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
 )
 
-SConscript(
-       'progs/SConscript',
-       variant_dir = os.path.join('progs', env['build']),
-       duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
-)
+if 'progs' in COMMAND_LINE_TARGETS:
+    SConscript(
+        'progs/SConscript',
+        variant_dir = os.path.join('progs', env['build']),
+        duplicate = 0 # 
http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
+    )

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to