[jhbuild/jhdebuild: 535/536] [jhdebuild] Use config.build_targets



commit 95087881a42ed47fa4c7be644c254fbf9a813dc8
Author: John Carr <john carr unrouted co uk>
Date:   Sun May 17 19:36:28 2009 +0100

    [jhdebuild] Use config.build_targets
---
 jhbuild/commands/debuild.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jhbuild/commands/debuild.py b/jhbuild/commands/debuild.py
index 4674ccd..ca37a23 100644
--- a/jhbuild/commands/debuild.py
+++ b/jhbuild/commands/debuild.py
@@ -188,6 +188,7 @@ def get_external_deps(gnome_version):
 def debuild_init(config, buildscript):
     # perform a deb build
     config.debuild = True
+    config.build_targets = ['deb_build_package']
 
     if type(config.moduleset) is list:
         moduleset = config.moduleset[0]
@@ -264,7 +265,7 @@ class cmd_debuild(Command):
 
         build = jhbuild.frontends.get_buildscript(config, module_list)
         debuild_init(config, build)
-        build.build(phases=['deb_build_package'])
+        build.build()
 
 register_command(cmd_debuild)
 
@@ -310,7 +311,7 @@ class cmd_debuildone(Command):
 
         build = jhbuild.frontends.get_buildscript(config, module_list)
         debuild_init(config, build)
-        build.build(phases=['deb_build_package'])
+        build.build()
 
 register_command(cmd_debuildone)
 



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