]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
build: fix VPATH builds
authorEric Blake <eblake@redhat.com>
Sat, 25 Jun 2011 02:48:49 +0000 (20:48 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 25 Jun 2011 02:55:23 +0000 (20:55 -0600)
The build currently fails when trying to create virnetprotocol.c
into $(builddir)/rpc, which doesn't exist.  But since the file
is part of the tarball, it should be generated into $(srcdir).
Caught by autobuild.sh.

* src/Makefile.am (VIR_NET_RPC_GENERATED): Generate into srcdir.

src/Makefile.am

index 15a207e79f32c72cded7f528345d51fdefe4ff4f..1e7b905977cfd7dbddd01b7ebb0dd4323170744d 100644 (file)
@@ -1201,7 +1201,9 @@ EXTRA_DIST += \
        rpc/gendispatch.pl \
        rpc/genprotocol.pl
 
-VIR_NET_RPC_GENERATED = rpc/virnetprotocol.h rpc/virnetprotocol.c
+VIR_NET_RPC_GENERATED = \
+       $(srcdir)/rpc/virnetprotocol.h \
+       $(srcdir)/rpc/virnetprotocol.c
 
 BUILT_SOURCES += $(VIR_NET_RPC_GENERATED)