MM check_hints test
[p5sagit/p5-mst-13.2.git] / Makefile.SH
index 0ee560b..f86b17b 100644 (file)
@@ -100,6 +100,11 @@ true)
        ;;
 esac
 
+case "`pwd`" in
+# Protect any spaces
+*" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
+esac
+
 : Prepare dependency lists for Makefile.
 dynamic_list=' '
 for f in $dynamic_ext; do
@@ -324,7 +329,7 @@ lintflags = -hbvxac
 
 all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
        @echo " ";
-       @echo " Everything is up to date. 'make test' to run test suite."
+       @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
 
 compile: all
        echo "testing compilation" > testcompile;
@@ -819,9 +824,10 @@ regen_headers:     FORCE
        -perl bytecode.pl
        -perl regcomp.pl
        -perl warnings.pl
+       -perl autodoc.pl
 
 regen_pods:    FORCE
-       -cd pod; $(LDLIBPTH) make regen_pods
+       -cd pod; $(LDLIBPTH) $(MAKE) regen_pods
 
 regen_all: $(PERLYVMS) regen_headers regen_pods
 
@@ -854,7 +860,7 @@ n_dummy $(nonxs_ext):       miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
 clean:         _tidy _mopup
 
 realclean:     _realcleaner _mopup
-       @echo "Note that make realclean does not delete config.sh or Policy.sh"
+       @echo "Note that '$(MAKE) realclean' does not delete config.sh or Policy.sh"
 
 _clobber:
        -@rm -f Cross/run-* Cross/to-* Cross/from-*
@@ -1017,7 +1023,7 @@ test-notty:       test_notty
 
 # Targets for Third Degree testing.
 
-test_prep.third: test_prep perl.third perl.third$(EXE_EXT)
+test_prep.third: test_prep perl.third
        PERL=./perl.third $(MAKE) _test_prep
 
 test.third check.third:        test_prep.third perl.third