Try to avoid future regressions on the VPATH front.
* autobuild.sh: Uncomment VPATH use.
* .gitignore: Exclude build directory.
---
No change from
https://www.redhat.com/archives/libvir-list/2010-June/msg00050.html
.gitignore | 1 +
autobuild.sh | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
index c62e885..14128ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@
.git-module-status
.sc-start-sc_*
/GNUmakefile
+/build
/libvirt-[0-9]*
/maint.mk
ABOUT-NLS
diff --git a/autobuild.sh b/autobuild.sh
index c527479..e218740 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -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 \
--with-xen-proxy
@@ -67,7 +67,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" \
--
1.7.0.1