jhbuild r2239 - in trunk: . jhbuild/modtypes
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2239 - in trunk: . jhbuild/modtypes
- Date: Fri, 15 Aug 2008 09:28:46 +0000 (UTC)
Author: fpeters
Date: Fri Aug 15 09:28:45 2008
New Revision: 2239
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2239&view=rev
Log:
* jhbuild/modtypes/autotools.py: added automatic fallback to configure
if autogen.sh does not exist.
Modified:
trunk/ChangeLog
trunk/jhbuild/modtypes/autotools.py
Modified: trunk/jhbuild/modtypes/autotools.py
==============================================================================
--- trunk/jhbuild/modtypes/autotools.py (original)
+++ trunk/jhbuild/modtypes/autotools.py Fri Aug 15 09:28:45 2008
@@ -130,6 +130,13 @@
os.makedirs(builddir)
buildscript.set_action(_('Configuring'), self)
+ if self.autogen_sh == 'autogen.sh':
+ # if there is no autogen.sh, automatically fallback to configure
+ srcdir = self.get_srcdir(buildscript)
+ if not os.path.exists(os.path.join(srcdir, 'autogen.sh')) and \
+ os.path.exists(os.path.join(srcdir, 'configure')):
+ self.autogen_sh = 'configure'
+
if self.autogen_template:
template = self.autogen_template
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]