summaryrefslogtreecommitdiff
path: root/tools/pipol/scripts/compile-svn.sh
blob: ddabf398e2dab6e4493ca6db8c82b63e9c3b8746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
if [ $# -lt 1 ]; then
	echo Usage: `basename $0` dir [options];
	echo -n "Configure, compile, and check sources in \$PIPOL_WDIR/dir "
	echo passing options to the compiler;
	exit 1;
	
	else
	echo \*; echo \* $0 $*; echo \*;
fi

cd $PIPOL_WDIR/$1
shift
autoreconf -i && ./configure $* && make && make check;