diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-10-24 15:35:47 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-10-24 15:47:57 +0100 |
commit | 35900223df1d05d0b8f4da79c854bee9899f81be (patch) | |
tree | 2141f26753a648677ea1697720ee2c7d8246b62e /daemon | |
parent | 21a4cf7ef54a8598126f39023a51ef43415679dc (diff) | |
download | libguestfs-35900223df1d05d0b8f4da79c854bee9899f81be.tar.gz libguestfs-35900223df1d05d0b8f4da79c854bee9899f81be.tar.xz libguestfs-35900223df1d05d0b8f4da79c854bee9899f81be.zip |
Revert "out-of-tree build: daemon"
This reverts commit 025dba7f803419f510fd8f085ce693838af82878.
If build and source directories are the same, you get this error:
make[3]: Leaving directory `/home/rjones/d/libguestfs/generator'
make[2]: Circular guestfs_protocol.c <- guestfs_protocol.c dependency dropped.
make[2]: Circular guestfs_protocol.h <- guestfs_protocol.h dependency dropped.
rm -f guestfs_protocol.h
ln guestfs_protocol.h
ln: accessing `guestfs_protocol.h': No such file or directory
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am index af075d7c..e23ce86f 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -42,10 +42,10 @@ noinst_LIBRARIES = libprotocol.a libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing -guestfs_protocol.c: $(srcdir)/guestfs_protocol.c +guestfs_protocol.c: $(libsrcdir)/guestfs_protocol.c rm -f $@ ln $< $@ -guestfs_protocol.h: $(srcdir)/guestfs_protocol.h +guestfs_protocol.h: $(libsrcdir)/guestfs_protocol.h rm -f $@ ln $< $@ $(libsrcdir)/guestfs_protocol.c: force |