[jhbuild] Correct autotools do_distcheck (GNOME bug 647643)



commit 233742109ba7e9ebb1b457366e0a48cbe4f391fe
Author: Craig Keogh <cskeogh adam com au>
Date:   Wed Jun 22 14:16:37 2011 +0930

    Correct autotools do_distcheck (GNOME bug 647643)
    
    Initial work by Tommi Komulainen

 jhbuild/modtypes/autotools.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index f9c576f..52fa4af 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -252,14 +252,14 @@ class AutogenModule(Package, DownloadableModule):
     do_dist.error_phases = [PHASE_FORCE_CHECKOUT, PHASE_CONFIGURE]
 
     def do_distcheck(self, buildscript):
-        buildscript.set_action(_('Creating tarball for'), self)
+        buildscript.set_action(_('Dist checking'), self)
         makeargs = self.makeargs + ' ' + self.config.module_makeargs.get(
                 self.name, self.config.makeargs)
         cmd = '%s %s distcheck' % (os.environ.get('MAKE', 'make'), makeargs)
         buildscript.execute(cmd, cwd = self.get_builddir(buildscript),
                     extra_env = self.extra_env)
-    do_dist.depends = [PHASE_CONFIGURE]
-    do_dist.error_phases = [PHASE_FORCE_CHECKOUT, PHASE_CONFIGURE]
+    do_distcheck.depends = [PHASE_DIST]
+    do_distcheck.error_phases = [PHASE_FORCE_CHECKOUT, PHASE_CONFIGURE]
 
     def do_install(self, buildscript):
         buildscript.set_action(_('Installing'), self)



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