develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH] Makefile.SH test_prep dependency

Andy Dougherty
August 7, 2001 12:42
[PATCH] Makefile.SH test_prep dependency
Message ID:
The ./perl$(EXE_EXT) notation confuses BSD make.  Changing it to
perl$(EXE_EXT) works for BSD make.  This is apparently because the actual
target name is 'perl' in the makefile, not ./perl$(EXE_EXT).

Someone on a system with a non-empty $(EXE_EXT) might wish to verify that
this still works correctly for them.  If not, perhaps the makefile target
ought to be renamed to be perl$(EXE_EXT).

diff -r -u perl-current/Makefile.SH perl-andy/Makefile.SH
--- perl-current/Makefile.SH	Mon Jul 30 10:51:20 2001
+++ perl-andy/Makefile.SH	Tue Aug  7 12:23:45 2001
@@ -983,7 +983,7 @@
 test_prep_pre: preplibrary utilities $(nonxs_ext)
-test_prep: test_prep_pre miniperl ./perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
+test_prep: test_prep_pre miniperl perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
 	PERL=./perl $(MAKE) _test_prep

    Andy Dougherty
    Dept. of Physics
    Lafayette College, Easton PA 18042 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About