File: autogen.sh

package info (click to toggle)
genext2fs 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 400 kB
  • sloc: ansic: 3,468; sh: 325; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

die() {
	echo "*** $0 failed :("
	exit 1
}

./clean.sh

automake_flags="-c -a"
for p in aclocal autoconf autoheader automake; do
	flags=${p}_flags
	if ! ${p} ${!flags} ; then
		echo "*** ${p} failed :("
		exit 1
	fi
done

echo
echo "Now just run:"
echo "./configure"
echo "make"