[libgda] Enable setting up non-srcdir builds
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Enable setting up non-srcdir builds
- Date: Sun, 26 Mar 2017 11:03:30 +0000 (UTC)
commit 0f1740286a059a2ec94ef5b25bd636e916cd0195
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Mar 26 11:47:23 2017 +0100
Enable setting up non-srcdir builds
It should be possible to run autogen.sh from the build directory, which
is how Jhbuild does it.
autogen.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 93f647e..f0be7fe 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,8 +17,12 @@ which gnome-autogen.sh || {
exit 1git g
}
+olddir=`pwd`
+cd "$srcdir"
+
# Work around usage of gettext macros (AM_ICONV) without calling gettextize.
# intltoolize is used intead. https://bugzilla.gnome.org/show_bug.cgi?id=660537
touch config.rpath
-gnome-autogen.sh
+cd "$olddir"
+. gnome-autogen.sh "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]