Make it possible to build in a separate directory
authorMatthew Booth <mbooth@redhat.com>
Fri, 3 Jul 2009 10:52:50 +0000 (11:52 +0100)
committerMatthew Booth <mbooth@redhat.com>
Fri, 3 Jul 2009 15:16:51 +0000 (16:16 +0100)
commit349814e9d912c4f372b8fbdfb10b03749911021f
tree7168b6ee4dadd363a28a73e2a5ff26799395d75c
parent5f9cb51f11879ece8b921d833850505d7e57d339
Make it possible to build in a separate directory

This patch allows you to do:
mkdir build
cd build
../configure ...
make

This will output all generated files to the build directory. Given that
autogen automatically runs configure, you can also do:

BUILDDIR=./build ./autogen.sh

which will do the right thing.

Also:

* Fix a dependency bug which means that guestfs_protocol.h
  isn't automatically rebuilt.
* Re-running autogen.sh with no arguments won't blow away your previous
  configure arguments.
22 files changed:
appliance/Makefile.am
appliance/make.sh.in
appliance/update.sh.in
autogen.sh
capitests/Makefile.am
configure.ac
daemon/Makefile.am
daemon/configure.ac
examples/Makefile.am
fish/Makefile.am
haskell/Makefile.am
images/Makefile.am
inspector/Makefile.am
java/Makefile.am
ocaml/Makefile.am
perl/Makefile.PL.in
perl/Makefile.am
python/Makefile.am
ruby/Makefile.am
ruby/Rakefile.in
src/Makefile.am
src/generator.ml