summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-07-11 11:33:41 +0200
committerNicholas Clark <nick@ccl4.org>2013-07-12 10:54:43 +0200
commit9d4d67ddd2715c407b22db24e94bce467a0c7330 (patch)
tree130fc1795b6f47928a7567840994154b7bdfa74e /Makefile.SH
parent2452b657f07d778ae6c202492869e2b79492e59a (diff)
downloadperl-9d4d67ddd2715c407b22db24e94bce467a0c7330.tar.gz
Inline the Makefile target perl.valgrind.config into its only remaining user.
Add the 3 recently deleted Makefile targets to the list in perldelta.pod, and reflow the list.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH26
1 files changed, 6 insertions, 20 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 89a03cfcc2..46c26205ca 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -914,25 +914,6 @@ $(PERL_EXE): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPOR
-@rm -f miniperl.xok
$(SHRPENV) $(LDLIBPTH) $(CC) -o perl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-!NO!SUBS!
-
-case "${osname}${osvers}" in
-linux*|darwin*)
- $spitshell >>$Makefile <<'!NO!SUBS!'
-# Valgrind perl (currently Linux, Darwin only)
-
-perl.valgrind.config: config.sh
- @echo "Checking usemymalloc='n' in config.sh..."
- @grep "^usemymalloc=" config.sh
- @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
- @echo "And of course you have to have valgrind..."
- $(VALGRIND) $(VG_TEST) || exit 1
-!NO!SUBS!
- ;;
-esac
-
-$spitshell >>$Makefile <<'!NO!SUBS!'
-
# Microperl. This is just a convenience thing if one happens to
# build also the full Perl and therefore the real big Makefile:
# usually one should manually explicitly issue the below command.
@@ -1375,7 +1356,12 @@ linux*|darwin*)
$spitshell >>$Makefile <<'!NO!SUBS!'
# Targets for valgrind testing:
-test.valgrind check.valgrind: test_prep perl.valgrind.config
+test.valgrind check.valgrind: test_prep
+ @echo "Checking usemymalloc='n' in config.sh..."
+ @grep "^usemymalloc=" config.sh
+ @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
+ @echo "And of course you have to have valgrind..."
+ $(VALGRIND) $(VG_TEST) || exit 1
PERL_VALGRIND=1 VALGRIND='$(VALGRIND)' $(RUN_TESTS) choose
!NO!SUBS!
;;