[Libguestfs] More changes needed separate builddir

Hilko Bengen bengen at hilluzination.de
Thu Aug 11 23:30:52 UTC 2011


Here's the fix for perl. Both in-tree and out-of-tree build and install
worked.

-Hilko

diff --git a/perl/Makefile.am b/perl/Makefile.am
index ddc40b7..1722bcf 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -47,4 +47,5 @@ all: Makefile-pl src_deps
 
 Makefile-pl: Makefile.PL
+	-[ $(srcdir) != $(builddir) ] && cp -rsu $(abs_srcdir)/. $(builddir)/.
 	perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
 




More information about the Libguestfs mailing list