autobuild.sh: use VPATH build

Try to avoid future regressions on the VPATH front.

* autobuild.sh: Uncomment VPATH use.
* .gitignore: Exclude build directory.
This commit is contained in:
Eric Blake 2010-04-30 08:52:54 -06:00
parent 7e1dd7e090
commit ec28eb29b7
2 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@
/autom4te.cache
/build-aux
/build-aux/
/build/
/config.cache
/config.guess
/config.h

View File

@ -11,11 +11,11 @@ test -n "$1" && RESULTS=$1 || RESULTS=results.log
test -f Makefile && make -k distclean || :
rm -rf coverage
#rm -rf build
#mkdir build
#cd build
rm -rf build
mkdir build
cd build
./autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
../autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
--enable-test-coverage \
--enable-compile-warnings=error
@ -66,7 +66,7 @@ if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then
PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \
CC="i686-pc-mingw32-gcc" \
./configure \
../configure \
--build=$(uname -m)-pc-linux \
--host=i686-pc-mingw32 \
--prefix="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw" \