[gnome-photos] build: Fix builddir != srcdir
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] build: Fix builddir != srcdir
- Date: Mon, 6 Jun 2016 21:21:52 +0000 (UTC)
commit 223f2f44561cd1e27def5dccbce0781175cfaf59
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jun 6 23:18:40 2016 +0200
build: Fix builddir != srcdir
autogen.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index b4e0d5f..1a7325d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,9 @@ test -z "$srcdir" && srcdir=.
exit 1
}
+olddir=`pwd`
+cd $srcdir
+
PKG_NAME=`autoconf --trace "AC_INIT:$1" "$srcdir/configure.ac"`
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
@@ -34,6 +37,8 @@ set -x
intltoolize --force --copy --automake || exit 1
autoreconf --verbose --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]