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

Re: [Libguestfs] More changes needed separate builddir



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)
 


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