]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
autobuild.sh: use VPATH build
authorEric Blake <eblake@redhat.com>
Fri, 30 Apr 2010 14:52:54 +0000 (08:52 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 21 Feb 2011 16:27:05 +0000 (09:27 -0700)
Try to avoid future regressions on the VPATH front.

* autobuild.sh: Uncomment VPATH use.
* .gitignore: Exclude build directory.

.gitignore
autobuild.sh

index 309becf2c707df03b0b551b4aaff5cde3b8c92c4..41f7654c0902194154a74edca807c401bd2caaab 100644 (file)
@@ -26,6 +26,7 @@
 /autom4te.cache
 /build-aux
 /build-aux/
+/build/
 /config.cache
 /config.guess
 /config.h
index 91e2ab2b8046f83d8d8113ceb2ed52b2e00a7b38..54fb273991c3f7e9cca328cb90606140a7549fa0 100755 (executable)
@@ -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" \