~noskcaj/ubuntu/vivid/jhbuild/3.12

« back to all changes in this revision

Viewing changes to jhbuild/commands/autobuild.py

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jeremy Bicha
  • Date: 2012-03-28 22:17:26 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120328221726-iy2iug2sc2yos1xb
Tags: 3.2.1-1
[ Jeremy Bicha ]
* New upstream release.
* Switch to dh_python2
* Use 3.0 (quilt)
* debian/control.in:
  - Bump debhelper minimum to 8 and Standards-Version to 3.9.3
  - Bump intltool minimum build-dependency
  - Update long description to mention Git (Closes: #597801)
  - Add Vcs and Homepage fields
* debian/watch: Watch for .xz releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
            make_option('-c', '--clean',
37
37
                        action='store_true', dest='clean', default=False,
38
38
                        help=_('run make clean before make')),
 
39
            make_option('--distcheck',
 
40
                        action='store_true', dest='distcheck', default=False,
 
41
                        help=_('run make distcheck after building')),
39
42
            make_option('-s', '--skip', metavar='MODULES',
40
43
                        action='append', dest='skip', default=[],
41
44
                        help=_('treat the given modules as up to date')),
49
52
                        action='store_true', dest='verbose', default=False,
50
53
                        help=_('verbose mode')),
51
54
            ])
52
 
    
53
 
    def run(self, config, options, args):
 
55
 
 
56
    def run(self, config, options, args, help=None):
 
57
        config.set_from_cmdline_options(options)
54
58
        config.buildscript = 'autobuild'
55
59
 
56
60
        config.autobuild_report_url = None
57
61
        config.verbose = False
58
62
        config.interact = False
59
63
 
60
 
        if options.autogen:
61
 
            config.alwaysautogen = True
62
 
        if options.clean:
63
 
            config.makeclean = True
64
64
        if options.reporturl is not None:
65
65
            config.autobuild_report_url = options.reporturl
66
66
        if options.verbose:
80
80
            if not module_list:
81
81
                raise FatalError(_('%s not in module list') % options.startat)
82
82
    
83
 
        build = jhbuild.frontends.get_buildscript(config, module_list)
 
83
        build = jhbuild.frontends.get_buildscript(config, module_list, module_set=module_set)
84
84
        return build.build()
85
85
 
86
86
register_command(cmd_autobuild)