Hilko Bengen
2013-May-01 21:19 UTC
[Libguestfs] [PATCH 1/2] perl: Fix install target for separated builds.
--- perl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/Makefile.am b/perl/Makefile.am index d34adbe..780024f 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -87,7 +87,8 @@ clean-local: rm -f Makefile-pl install-data-hook: - $(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install + $(MAKE) -C $(srcdir) -f $(abs_builddir)/Makefile-pl \ + DESTDIR=$(DESTDIR) install endif -- 1.7.10.4
Hilko Bengen
2013-May-01 21:19 UTC
[Libguestfs] [PATCH 2/2] Fix rpcgen call for separated builds.
--- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1aa028f..57cdf34 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -198,14 +198,14 @@ endif guestfs_protocol.c: guestfs_protocol.x rm -f $@-t $@-t2 - $(RPCGEN) $(RPCGEN_DEFS) -c -o $@-t $(srcdir)/$< + $(RPCGEN) $(RPCGEN_DEFS) -c -o $@-t $< sed 's,\.\./\(\.\./\)*src,.,' < $@-t > $@-t2 rm $@-t mv $@-t2 $@ guestfs_protocol.h: guestfs_protocol.x rm -f $@-t - $(RPCGEN) $(RPCGEN_DEFS) -h -o $@-t $(srcdir)/$< + $(RPCGEN) $(RPCGEN_DEFS) -h -o $@-t $< mv $@-t $@ endif -- 1.7.10.4
Richard W.M. Jones
2013-May-02 12:48 UTC
[Libguestfs] [PATCH 1/2] perl: Fix install target for separated builds.
On Wed, May 01, 2013 at 11:19:46PM +0200, Hilko Bengen wrote:> --- > perl/Makefile.am | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/perl/Makefile.am b/perl/Makefile.am > index d34adbe..780024f 100644 > --- a/perl/Makefile.am > +++ b/perl/Makefile.am > @@ -87,7 +87,8 @@ clean-local: > rm -f Makefile-pl > > install-data-hook: > - $(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install > + $(MAKE) -C $(srcdir) -f $(abs_builddir)/Makefile-pl \ > + DESTDIR=$(DESTDIR) install > > endifACK to both. You can push these? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Apparently Analagous Threads
- [PATCH 01/12] configure: Add -nographic command line option to qemu.
- [PATCH v2] lib: Prefer tirpc for XDR, and rationalise how we search for alternatives.
- Makefile probably incorrect
- [PATCH] Fix rpcgen post-processing for out-of-tree builds
- [PATCH 1/2] Revert "perl: Fix build and test to work with separated builds."