This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move t/perl symlink creation back to the test_prep target of the Makefile
authorNicholas Clark <nick@ccl4.org>
Tue, 22 Sep 2009 09:32:57 +0000 (10:32 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 22 Sep 2009 09:36:38 +0000 (10:36 +0100)
commite75f8ea9991e059e875b1407c34a259205f0a505
tree89ad878b10a24db5807f2682717ba1e699082be8
parentce32bd79dfcbeb40131d6895c3ca24fb37083ac6
Move t/perl symlink creation back to the test_prep target of the Makefile

But not in the way it was done before with a recursive call to $(MAKE) -
instead create it directly in the current make invocation as an action for
test_prep, and create the link for perl.third directly as an action for
test_prep.third

Also, make it optional to pass the perl to run into runtests, by providing a
default of ./perl$(EXE_EXT)

This feels simpler and still Don't Repeat Yourself.
Makefile.SH
runtests.SH