blob: b0e2fde792b763b4f347a3d4e68d2ea82f370987 [file] [log] [blame]
Jan Engelhardtbf4fd3a2009-06-23 01:12:53 +02001#!/bin/bash
2
Thomas Haller2fa73ce2023-07-24 18:05:57 +02003set -e
4
Thomas Hallerc62cda92014-07-04 19:58:03 +02005die() {
6 echo "$@" >&2
7 exit 1
8}
9
10BASEDIR="$(dirname "$0")"
11
12cd "$BASEDIR" || die "Could not change into base directory $BASEDIR"
13
14autoreconf -fi || die "Error during autoreconf"
Thomas Haller2fa73ce2023-07-24 18:05:57 +020015rm -rf autom4te.cache
Thomas Grafdb138432012-10-19 16:16:06 +020016
Thomas Hallerc62cda92014-07-04 19:58:03 +020017doc/autogen.sh || die "Error during doc/autogen.sh"