diff options
author | Russ Allbery <eagle@eyrie.org> | 2014-07-16 12:08:58 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2014-07-16 13:35:28 -0700 |
commit | 38323e67f70cab4dce0aef0db3775cbd62e865de (patch) | |
tree | aa20d3461f388fa5942c9de57a7ccf29a751592b | |
parent | 4d767409039d268cfbdaff32ee8fce7b748278f4 (diff) |
Change the Perl install rule to reflect Module::Build
Change-Id: I36565462a248cef0ff1560b5a1d89a20353d566f
Reviewed-on: https://gerrit.stanford.edu/1567
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 1 insertions, 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: |