[jhbuild: 14/27] change clean & uninstall commands to use the new phases keyword
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild: 14/27] change clean & uninstall commands to use the new phases keyword
- Date: Sat, 16 May 2009 09:37:57 -0400 (EDT)
commit 4b8a5e1408541daa714ad925af7952c12afdf2cb
Author: Frederic Peters <fpeters 0d be>
Date: Tue May 5 21:32:20 2009 +0200
change clean & uninstall commands to use the new phases keyword
---
jhbuild/commands/clean.py | 4 +---
jhbuild/commands/uninstall.py | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/jhbuild/commands/clean.py b/jhbuild/commands/clean.py
index 864755b..5b8d714 100644
--- a/jhbuild/commands/clean.py
+++ b/jhbuild/commands/clean.py
@@ -60,11 +60,9 @@ class cmd_clean(Command):
if not packagedb.check(module.name):
module_list.remove(module)
- config.nonetwork = True
config.nopoison = True
- config.build_targets = ['clean']
build = jhbuild.frontends.get_buildscript(config, module_list)
- return build.build()
+ return build.build(phases=['clean'])
register_command(cmd_clean)
diff --git a/jhbuild/commands/uninstall.py b/jhbuild/commands/uninstall.py
index 7b1e617..d863a8c 100644
--- a/jhbuild/commands/uninstall.py
+++ b/jhbuild/commands/uninstall.py
@@ -62,9 +62,8 @@ class cmd_uninstall(Command):
config.nonetwork = True
config.nopoison = True
- config.build_targets = ['uninstall']
build = jhbuild.frontends.get_buildscript(config, module_list)
- return build.build()
+ return build.build(phases=['uninstall'])
register_command(cmd_uninstall)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]