bug 1305: remove list of modules at end of waf clean
authorAlexander D'souza <moijes12@gmail.com>
Wed, 12 Jun 2013 06:20:14 -0700
changeset 9823 a22cd11590bd
parent 9822 0ac59a7893de
child 9824 d6bdd8091038
bug 1305: remove list of modules at end of waf clean
wscript
--- a/wscript	Sun Jun 02 09:27:51 2013 -0700
+++ b/wscript	Wed Jun 12 06:20:14 2013 -0700
@@ -820,6 +820,10 @@
     # build command.
     bld.env['PRINT_BUILT_MODULES_AT_END'] = True
 
+    # Do not print the modules built if build command was "clean"
+    if bld.cmd == 'clean':
+        bld.env['PRINT_BUILT_MODULES_AT_END'] = False
+
     if Options.options.run:
         # Check that the requested program name is valid
         program_name, dummy_program_argv = wutils.get_run_program(Options.options.run, wutils.get_command_template(env))