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