File: gitcompile

package info (click to toggle)
alsa-tools 1.2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,184 kB
  • sloc: ansic: 23,759; cpp: 15,276; sh: 6,037; pascal: 1,140; asm: 1,053; makefile: 926; xml: 846; python: 251
file content (13 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download | duplicates (42)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

aclocal $ACLOCAL_FLAGS || exit 1
automake --foreign --add-missing || exit 1
autoconf || exit 1
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@ || exit 1
unset CFLAGS
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
  make || exit 1
fi