diff options
author | Russ Allbery <eagle@eyrie.org> | 2014-12-08 20:23:01 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2014-12-08 20:23:01 -0800 |
commit | f154a7b373491eff28e3a062e6f5fd9870a7ea0c (patch) | |
tree | 2a6c4a2eb24346c71a05591407a6f56ec0fbcaf0 /Makefile.am | |
parent | 391f4f927e4bef8de9b470cbc86edfd0c039f463 (diff) |
Be more robust when setting up the Perl tests
If the Test library directory already exists, we previously failed.
Use mkdir -p and probe for it in Autoconf to avoid this.
Change-Id: I1ad9f1a83af1f2ebfe1b2337aaab99913b4edeea
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index d6409ea..553af64 100644 --- a/Makefile.am +++ b/Makefile.am @@ -205,9 +205,8 @@ perl/blib/lib/Wallet/Config.pm: $(srcdir)/perl/lib/Wallet/Config.pm cp "$(srcdir)/$$f" "$(builddir)/$$f" ; \ done ; \ fi - mkdir perl/t/lib/Test + $(MKDIR_P) perl/t/lib/Test/RRA $(INSTALL_DATA) $(srcdir)/tests/tap/perl/Test/RRA.pm perl/t/lib/Test/ - mkdir perl/t/lib/Test/RRA $(INSTALL_DATA) $(srcdir)/tests/tap/perl/Test/RRA/Config.pm \ perl/t/lib/Test/RRA/ cd perl && perl Build.PL $(WALLET_PERL_FLAGS) |