[libvirt] [PATCH] Fix VPATH build
Jiri Denemark
jdenemar at redhat.com
Tue Oct 18 08:33:40 UTC 2011
On Mon, Oct 17, 2011 at 09:57:51 -0600, Eric Blake wrote:
> On 10/17/2011 09:54 AM, Jiri Denemark wrote:
> > probes.h is generated in build directory; setting a dependency on
> > probes.h from source directory doesn't work well in VPATH builds. Caused
> > by commit 1afcfbdda0cac112faa61f74ec943e46aa43f2f5
> > ---
> > src/Makefile.am | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/Makefile.am b/src/Makefile.am
> > index 510e5ef..87d91ed 100644
> > --- a/src/Makefile.am
> > +++ b/src/Makefile.am
> > @@ -191,7 +191,7 @@ REMOTE_DRIVER_GENERATED = \
> >
> > # The remote RPC driver needs probes.h
> > if WITH_DTRACE
> > -REMOTE_DRIVER_GENERATED += $(srcdir)/probes.h
> > +REMOTE_DRIVER_GENERATED += probes.h
>
> ACK. probes.h is part of BUILT_SOURCES, which means it is not part of
> the tarball, which means that it does not have to be in the source
> directory.
Thanks, pushed.
Jirka
More information about the libvir-list
mailing list