From 38323e67f70cab4dce0aef0db3775cbd62e865de Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 16 Jul 2014 12:08:58 -0700 Subject: Change the Perl install rule to reflect Module::Build Change-Id: I36565462a248cef0ff1560b5a1d89a20353d566f Reviewed-on: https://gerrit.stanford.edu/1567 Reviewed-by: Russ Allbery Tested-by: Russ Allbery --- Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index da452af..16c0289 100644 --- a/Makefile.am +++ b/Makefile.am @@ -210,11 +210,7 @@ perl/blib/lib/Wallet/Config.pm: $(srcdir)/perl/lib/Wallet/Config.pm cd perl && ./Build install-data-local: - if [ x"$(DESTDIR)" != x ] ; then \ - cd perl && $(MAKE) install DESTDIR=$(DESTDIR)/ ; \ - else \ - cd perl && $(MAKE) install ; \ - fi + cd perl && ./Build install --destdir '$(DESTDIR)' # ExtUtils::MakeMaker really likes moving the Makefile aside. clean-local: -- cgit v1.2.3