[Libguestfs] [PATCH 1/2] perl: Fix install target for separated builds.

Hilko Bengen bengen at hilluzination.de
Wed May 1 21:19:46 UTC 2013


---
 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




More information about the Libguestfs mailing list