Create perl571delta and seed it off with the perldelta changes
[p5sagit/p5-mst-13.2.git] / Makefile.SH
index 00a8b29..a2ffe48 100644 (file)
@@ -149,7 +149,8 @@ CLDFLAGS = $ldflags
 mallocsrc = $mallocsrc
 mallocobj = $mallocobj
 LNS = $lns
-CPS = $cp -f
+# NOTE: some systems don't grok "cp -f". XXX Configure test needed?
+CPS = $cp
 RMS = rm -f
 ranlib = $ranlib
 
@@ -506,14 +507,14 @@ quantperl: $& perlmain$(OBJ_EXT) $(LIBPERL) $(DYNALOADER) $(static_ext) ext.libs
 
 # Third Degree Perl (Tru64 only)
 
-perl.config.-g:
+perl.config.dashg:
        @echo "Checking optimize='-g'..."
        @grep "^optimize=" config.sh
        @grep -q "^optimize='-g'" config.sh || exit 1
 
 perl.third.config: config.sh
        @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
-       $(MAKE) perl.config.-g
+       @$(MAKE) perl.config.dashg
        @echo "Checking usemymalloc='n'..."
        @grep "^usemymalloc=" config.sh
        @grep -q "^usemymalloc='n'" config.sh || exit 1
@@ -523,17 +524,17 @@ perl.third: /usr/bin/atom perl.third.config perl
 
 # Pixie Perls (Tru64 and IRIX only)
 
-perl.pixie.atom.config: config.sh
+perl.pixie.config: config.sh
        @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."
-       $(MAKE) perl.config.-g
+       @$(MAKE) perl.config.dashg
 
-perl.pixie.atom: /usr/bin/atom perl.pixie.atom.config perl
+perl.pixie.atom: /usr/bin/atom perl
        atom -tool pixie -L. -all -toolargs="-quiet" perl
 
 perl.pixie.irix: perl
        pixie perl
 
-perl.pixie: perl
+perl.pixie: /usr/bin/pixie perl.pixie.config perl
        if test -x /usr/bin/atom; then \
          $(MAKE) perl.pixie.atom; \
        else \
@@ -826,7 +827,7 @@ _cleaner2:
        rm -f h2ph.man pstruct
        rm -rf .config
        rm -f testcompile compilelog
-       -rmdir lib/B lib/Data lib/Digest lib/Encode lib/MIME lib/IO/Socket lib/IO lib/Filter/Util lib/PerlIO lib/Sys lib/Thread
+       -rmdir lib/B lib/Data lib/Digest lib/Encode lib/MIME lib/IO/Socket lib/IO lib/Filter/Util lib/PerlIO lib/Sys lib/Thread lib/XS
 
 _realcleaner: 
        @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean
@@ -890,6 +891,7 @@ _test:
        else \
          $(MAKE) _test_notty; \
        fi
+       @echo "Ran tests" > t/rantests
 
 test check: test_prep
        PERL=./perl $(MAKE) _test
@@ -903,7 +905,7 @@ test_notty: test_prep
 utest ucheck: test_prep
        PERL=./perl UTF8=-utf8 $(MAKE) _test
 
-# Backward compat.
+test-prep:     test_prep
 
 test-tty:      test_tty