X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.SH;h=f86b17bf6b4725d3d5a41b01ba8aa25946b5c41e;hb=235bddc8d16c512a7d89f327f65cee68b1f5848c;hp=0ee560b69e80e234a2f036ec0b7906c9050dd470;hpb=443a5b981950c0a4ba09217be56a57cb04e64247;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Makefile.SH b/Makefile.SH index 0ee560b..f86b17b 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -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