[jhbuild] Run autoreconf in srcdir, instead of buildir (GNOME bug 615802)



commit b02b95d006e6e9ef7d8a114d17ce60a05ab9fb59
Author: Dmitrijs Ledkovs <dmitrij ledkov ubuntu com>
Date:   Thu Apr 15 01:46:41 2010 +0100

    Run autoreconf in srcdir, instead of buildir (GNOME bug 615802)
    
    Because otherwise out-of the sourcetree builds fail.

 jhbuild/modtypes/autotools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 4d95ba1..bb490f1 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -156,7 +156,7 @@ class AutogenModule(Package, DownloadableModule):
             extra_env['ACLOCAL'] = ' '.join((
                 extra_env.get('ACLOCAL', os.environ.get('ACLOCAL', 'aclocal')),
                 extra_env.get('ACLOCAL_FLAGS', os.environ.get('ACLOCAL_FLAGS', ''))))
-            buildscript.execute(['autoreconf', '-i'], cwd=builddir,
+            buildscript.execute(['autoreconf', '-i'], cwd=srcdir,
                     extra_env=extra_env)
             os.chmod(os.path.join(srcdir, 'configure'), 0755)
             cmd = cmd.replace('autoreconf', 'configure')



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