diff options
-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: |