[Libguestfs] [PATCH 2/6] out-of-tree build: fix building Perl bindings

Hilko Bengen bengen at hilluzination.de
Sun Aug 14 08:58:09 UTC 2011


---
 perl/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/perl/Makefile.am b/perl/Makefile.am
index d8167d1..1c3079e 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -63,6 +63,7 @@ all: Makefile-pl src_deps
 	$(MAKE) -f Makefile-pl
 
 Makefile-pl: Makefile.PL
+	-[ $(srcdir) != $(builddir) ] && cp -rsu $(abs_srcdir)/. $(builddir)/.
 	perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
 
 # No!  Otherwise it is deleted before the clean-local rule runs.
-- 
1.7.5.4




More information about the Libguestfs mailing list