summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2011-08-12 01:30:52 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-08-12 09:53:34 +0100
commitaee8772d8c711615cec7e68666cf91a90f3e5a3c (patch)
tree59aee9c8f287ca86a2c63664281320fffacf1d72
parentb22f2651674b4628978bd5971984a01d68510c45 (diff)
downloadhivex-aee8772d8c711615cec7e68666cf91a90f3e5a3c.tar.gz
hivex-aee8772d8c711615cec7e68666cf91a90f3e5a3c.tar.xz
hivex-aee8772d8c711615cec7e68666cf91a90f3e5a3c.zip
More changes needed separate builddir
Here's the fix for perl. Both in-tree and out-of-tree build and install worked. -Hilko
-rw-r--r--perl/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index ddc40b7..1722bcf 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -46,6 +46,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.