File: autogen.sh

package info (click to toggle)
kazehakase 0.5.4-2.2+lenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,724 kB
  • ctags: 7,198
  • sloc: ansic: 59,016; cpp: 15,046; sh: 9,833; ruby: 1,590; makefile: 1,308; xml: 372
file content (21 lines) | stat: -rwxr-xr-x 356 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
#!/bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

run()
{
    $@
    if test $? -ne 0; then
	echo "Failed $@"
	exit 1
    fi
}

run libtoolize --copy --force
run glib-gettextize --force --copy
run intltoolize --force --copy --automake
run aclocal -I macros $ACLOCAL_FLAGS
run autoheader
run automake --add-missing --foreign --copy
run autoconf