X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=perl%2FMakefile.am;h=1722bcf0834e74703a5f4429306627db0cbfafe1;hb=24e778286a2d684cb08afb29f5c0e48b2b312e7e;hp=9d5b6922c32ee314ca87914c0f7f0f0fe4b2a442;hpb=aa5d6c138b55e25994ac723e94f32b009366927c;p=hivex.git diff --git a/perl/Makefile.am b/perl/Makefile.am index 9d5b692..1722bcf 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -19,6 +19,7 @@ EXTRA_DIST = \ Makefile.PL.in \ run-perl-tests \ lib/Win/Hivex.pm \ + lib/Win/Hivex/Regedit.pm \ Hivex.xs \ t/*.t \ typemap @@ -45,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. @@ -52,7 +54,7 @@ Makefile-pl: Makefile.PL clean-local: -$(MAKE) -f Makefile-pl clean - rm -f Makefile-pl + rm -f Makefile-pl Makefile-pl.old install-data-hook: $(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install