[jhbuild] Restrict execution to the 'clean' phase (GNOME bug 619940)



commit 2b84cd566e77952a4c568ce5db6fd78d5c9c0b47
Author: Dirk Wallenstein <halsmit t-online de>
Date:   Fri May 28 15:10:32 2010 +0200

    Restrict execution to the 'clean' phase (GNOME bug 619940)
    
    This will automatically omit the update step, and work with a
    non-default build_policy.
    
    The nonetwork and built_target settings no longer have any impact.

 jhbuild/commands/base.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/jhbuild/commands/base.py b/jhbuild/commands/base.py
index d746604..f98069f 100644
--- a/jhbuild/commands/base.py
+++ b/jhbuild/commands/base.py
@@ -144,11 +144,9 @@ class cmd_cleanone(Command):
             logging.info(
                     _('clean command called while makeclean is set to False, skipped.'))
             return 0
-        config.build_targets = ['clean']
-        config.nonetwork = False
 
         build = jhbuild.frontends.get_buildscript(config, module_list)
-        return build.build()
+        return build.build(phases=['clean'])
 
 register_command(cmd_cleanone)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]