[Libguestfs] [PATCH 2/2] perl: Use symlink hack from hivex

Richard W.M. Jones rjones at redhat.com
Mon Jun 3 13:51:13 UTC 2013


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




More information about the Libguestfs mailing list