[at-spi2-atk] Allow to build out of source directory
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Allow to build out of source directory
- Date: Mon, 6 Aug 2012 20:57:46 +0000 (UTC)
commit ed22425d532435fcba88787f543c38737e5d6182
Author: Daniel Narvaez <dwnarvaez gmail com>
Date: Thu Jul 19 22:12:04 2012 +0200
Allow to build out of source directory
https://bugzilla.gnome.org/show_bug.cgi?id=680280
autogen.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 3179c3f..1848e54 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,9 +1,11 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
#name of package
PKG_NAME=${PKG_NAME:-Package}
-srcdir=${srcdir:-.}
# default version requirements ...
REQUIRED_AUTOCONF_VERSION=${REQUIRED_AUTOCONF_VERSION:-2.53}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]