[jhbuild] Add support for distcheck to autobuild command



commit 1fa76a280faea649aad5a4f5fcf8df452970f44e
Author: Jon TURNEY <jon turney dronecode org uk>
Date:   Wed Oct 21 17:22:10 2009 +0100

    Add support for distcheck to autobuild command

 doc/C/jhbuild.xml             |    2 ++
 jhbuild/commands/autobuild.py |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/doc/C/jhbuild.xml b/doc/C/jhbuild.xml
index d12b69d..f214fd3 100644
--- a/doc/C/jhbuild.xml
+++ b/doc/C/jhbuild.xml
@@ -797,6 +797,7 @@ jhbuildbot_password = 'password'
         <command>jhbuild autobuild</command>
 	<arg>--autogen</arg>
 	<arg>--clean</arg>
+	<arg>--distcheck</arg>
 	<arg rep="repeat">--skip=<replaceable>module</replaceable></arg>
 	<arg>--start-at=<replaceable>module</replaceable></arg>
 	<arg>--report-url=<replaceable>reporturl</replaceable></arg>
@@ -804,6 +805,7 @@ jhbuildbot_password = 'password'
       </cmdsynopsis>
 
       <para>The <option>--autogen</option>, <option>--clean</option>,
+      <option>--distcheck</option>,
       <option>--skip</option> and <option>--start-at</option> options
       are processed as per the 
       <link linkend="command-reference-build"><command>build</command></link>
diff --git a/jhbuild/commands/autobuild.py b/jhbuild/commands/autobuild.py
index 1bdda28..9cd389c 100644
--- a/jhbuild/commands/autobuild.py
+++ b/jhbuild/commands/autobuild.py
@@ -36,6 +36,9 @@ class cmd_autobuild(Command):
             make_option('-c', '--clean',
                         action='store_true', dest='clean', default=False,
                         help=_('run make clean before make')),
+            make_option('--distcheck',
+                        action='store_true', dest='distcheck', default=False,
+                        help=_('run make distcheck after building')),
             make_option('-s', '--skip', metavar='MODULES',
                         action='append', dest='skip', default=[],
                         help=_('treat the given modules as up to date')),



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