File: gitcompile

package info (click to toggle)
alsa-lib 1.0.23-2.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,688 kB
  • ctags: 10,853
  • sloc: ansic: 72,724; sh: 9,923; makefile: 696
file content (19 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

touch ltconfig
libtoolize --force --copy --automake
aclocal $ACLOCAL_FLAGS
autoheader
automake --foreign --copy --add-missing
touch depcomp		# seems to be missing for old automake
autoconf
export CFLAGS='-O2 -Wall -W -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@ || exit 1
unset CFLAGS
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
  make
fi