[gnome-builder] autogen: Fix for non-srcdir builds
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autogen: Fix for non-srcdir builds
- Date: Wed, 1 Jun 2016 19:04:50 +0000 (UTC)
commit 77c3e30bb1641722835f898220529877eee231e6
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Jun 1 21:01:31 2016 +0200
autogen: Fix for non-srcdir builds
autogen.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 8f0d698..3189b7b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,6 +10,9 @@ test -z "$srcdir" && srcdir=.
exit 1
}
+olddir=`pwd`
+
+cd $srcdir
touch ChangeLog
touch INSTALL
@@ -28,6 +31,8 @@ fi
autoreconf --force --install -Wno-portability || exit 1
+cd $olddir
+
if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]