sugar-toolkit-gtk3/autogen.sh
Daniel Narvaez 80c6028ddd Allow to build outside source directory
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@schampijer.de>
2012-08-07 18:55:38 +02:00

16 lines
248 B
Bash
Executable File

#!/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
cd "$olddir"
"$srcdir/configure" --enable-maintainer-mode "$@"