[at-spi2-core] Allow to build out of source directory
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Allow to build out of source directory
- Date: Mon, 6 Aug 2012 20:52:27 +0000 (UTC)
commit 677698ee880b5583609988577c336c1ddb2ac9d1
Author: Daniel Narvaez <dwnarvaez gmail com>
Date: Thu Jul 19 22:24:27 2012 +0200
Allow to build out of source directory
https://bugzilla.gnome.org/show_bug.cgi?id=680281
autogen.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index aff1175..38add59 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd "$srcdir"
+
# run gtkdocize
gtkdocize || exit 1
@@ -7,5 +13,8 @@ intltoolize --force --copy --automake || exit 1
# gnome-autogen.sh runs configure, so do likewise.
autoreconf -vif
-test -n "$NOCONFIGURE" || ./configure "$@"
+
+cd "$olddir"
+
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]