summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-23 10:21:07 +0100
committerNicholas Clark <nick@ccl4.org>2011-05-23 10:21:07 +0100
commit9f4173836a23515ff86154e9d21c4c35e075432b (patch)
tree21ce8ccba4a99f9362ff64c998d7381bc4bdc314 /Makefile.SH
parent8b2d7fd7f6fec0dba844a6dfeedfdfa03d1c405e (diff)
downloadperl-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'.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH7
1 files changed, 6 insertions, 1 deletions
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)