From: Hilko Bengen Date: Thu, 11 Aug 2011 23:30:52 +0000 (+0200) Subject: More changes needed separate builddir X-Git-Tag: 1.2.8~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=aee8772d8c711615cec7e68666cf91a90f3e5a3c;p=hivex.git 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 @@ -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.