[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]