On Wed, May 29, 2013 at 01:05:20AM +0200, Hilko Bengen wrote:
---
perl/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 7b8f5d3..1eb0469 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -67,6 +67,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)
OK after discussion on IRC, ACK to this one too.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)