Allow to build outside source directory
Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@schampijer.de>
This commit is contained in:
parent
6438c89dea
commit
80c6028ddd
11
autogen.sh
11
autogen.sh
@ -1,6 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
test -n "${srcdir}" || srcdir=`dirname "$0"`
|
||||
test -n "${srcdir}" || srcdir="$(pwd)"
|
||||
|
||||
olddir="$(pwd)"
|
||||
cd "$srcdir"
|
||||
|
||||
export ACLOCAL="aclocal -I m4"
|
||||
|
||||
intltoolize
|
||||
autoreconf -i
|
||||
./configure --enable-maintainer-mode "$@"
|
||||
|
||||
cd "$olddir"
|
||||
"$srcdir/configure" --enable-maintainer-mode "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user