File: autogen.sh

package info (click to toggle)
genext2fs 1.4.1-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 500 kB
  • ctags: 235
  • sloc: ansic: 2,179; sh: 948; makefile: 48
file content (22 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (3)
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 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"