This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Inline the Makefile target minitest.prep into its only user.
authorNicholas Clark <nick@ccl4.org>
Wed, 19 Jun 2013 12:09:55 +0000 (14:09 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 1 Jul 2013 09:13:03 +0000 (11:13 +0200)
This is strictly a refactoring, so do not change the rules themselves, despite
them being ugly and fragile.

Makefile.SH

index 41ee6db..9b8d73b 100755 (executable)
@@ -1446,16 +1446,14 @@ esac
 
 $spitshell >>$Makefile <<'!NO!SUBS!'
 
-minitest.prep:
+# Can't depend on lib/Config.pm because that might be where miniperl
+# is crashing.
+minitest: $(MINIPERL_EXE)
        -@test -f lib/Config.pm || $(MAKE) lib/Config.pm $(unidatafiles)
        @echo " "
        @echo "You may see some irrelevant test failures if you have been unable"
        @echo "to build lib/Config.pm, or the Unicode data files."
        @echo " "
-
-# Can't depend on lib/Config.pm because that might be where miniperl
-# is crashing.
-minitest: $(MINIPERL_EXE) minitest.prep
        - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \
                && $(RUN_PERL) TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t opbasic/*.t op/*.t uni/*.t </dev/tty