diff options
author | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:30:17 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:30:17 +0000 |
commit | 5ffe7e15910ddf0d6078f48b27dc00ac14dfe1ba (patch) | |
tree | 1dd0b509e35453180656652f38f6c1f19be837e8 /Makefile.am | |
parent | def84e2eaa498296d4665fea90906d0232c80db8 (diff) |
Propagate DESTDIR settings to the Perl install rule.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7fe6063..95a0d74 100644 --- a/Makefile.am +++ b/Makefile.am @@ -128,7 +128,11 @@ perl/blib/lib/Wallet/Config.pm: cd perl && $(MAKE) install-data-local: - cd perl && $(MAKE) install + if [ x"$(DESTDIR)" != x ] ; then \ + cd perl && $(MAKE) install DESTDIR=$(DESTDIR) ; \ + else \ + cd perl && $(MAKE) install ; \ + fi # ExtUtils::MakeMaker really likes moving the Makefile aside. clean-local: |