diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-23 10:21:07 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-05-23 10:21:07 +0100 |
commit | 9f4173836a23515ff86154e9d21c4c35e075432b (patch) | |
tree | 21ce8ccba4a99f9362ff64c998d7381bc4bdc314 | |
parent | 8b2d7fd7f6fec0dba844a6dfeedfdfa03d1c405e (diff) | |
download | perl-9f4173836a23515ff86154e9d21c4c35e075432b.tar.gz |
Add find2perl as a dependency for the target 'test_prep'.
If t/porting/podcheck.t can't find x2p/find2perl, then it is unable to find an
external target for a pod link in perlutil.pod, which it flags up as an error.
find2perl was already a dependency of the 'all' target, hence without this
rule podcheck.t would pass for 'make all test', but not 'make test'.
-rw-r--r-- | Cross/Makefile-cross-SH | 3 | ||||
-rwxr-xr-x | Makefile.SH | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH index e555ba7656..0ee2cb0542 100644 --- a/Cross/Makefile-cross-SH +++ b/Cross/Makefile-cross-SH @@ -1082,7 +1082,8 @@ _test_prep: test_prep_pre: preplibrary utilities $(nonxs_ext) -test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL) x2p/s2p +test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) \ + $(dynamic_ext) $(TEST_PERL_DLL) x2p/s2p x2p/find2perl PERL=./perl $(MAKE) _test_prep _test_tty: diff --git a/Makefile.SH b/Makefile.SH index 83cedb5c71..8c17ac247f 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -580,6 +580,9 @@ translators: $x2p_deps x2p/s2p: $x2p_deps cd x2p; \$(LDLIBPTH) \$(MAKE) s2p +x2p/find2perl: $x2p_deps + cd x2p; \$(LDLIBPTH) \$(MAKE) find2perl + utilities: $util_deps @echo " "; echo " Making utilities"; cd utils; \$(LDLIBPTH) \$(MAKE) all @@ -1379,7 +1382,9 @@ _test: test_prep_pre: preplibrary utilities $(nonxs_ext) -test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p $(generated_pods) +test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) \ + $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p x2p/find2perl \ + $(generated_pods) cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE)) test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL) |