third_party_libnl/autogen.sh
Thomas Haller c62cda91f7 build: let autogen.sh script change into top source directory
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-07-07 11:12:38 +02:00

16 lines
274 B
Bash
Executable File

#!/bin/bash
die() {
echo "$@" >&2
exit 1
}
BASEDIR="$(dirname "$0")"
cd "$BASEDIR" || die "Could not change into base directory $BASEDIR"
autoreconf -fi || die "Error during autoreconf"
rm -Rf autom4te.cache;
doc/autogen.sh || die "Error during doc/autogen.sh"