diff options
author | Kriton Kyrimis <kyrimis@princeton.edu> | 1988-02-01 22:28:33 +0000 |
---|---|---|
committer | Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> | 1988-02-01 22:28:33 +0000 |
commit | 2e1b3b7e9018b7d16d598adb631073672439d869 (patch) | |
tree | 6ee91f55ef0c0cf0f9e15c0683ddfccd84c022be /Makefile.SH | |
parent | 9bb9d9f726fa55c70ed76abad9fe7c61d4eb4182 (diff) | |
download | perl-2e1b3b7e9018b7d16d598adb631073672439d869.tar.gz |
perl 1.0 patch 13: fix for faulty patch 12, plus random portability glitches
I botched patch #12, so that split(' ') only works on the first
line of input due to unintended interference by the optimization
that was added at the same time. Yes, I tested it, but only on
one line of input. *Sigh*
Some glitches have turned up on some of the rusty pig iron out there,
so here are some unglitchifications.
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH index a486289535..8845396539 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -12,11 +12,20 @@ esac case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac + +case "$d_symlink" in +*define*) sln='ln -s' ;; +*) sln='ln';; +esac + echo "Extracting Makefile (with variable substitutions)" cat >Makefile <<!GROK!THIS! -# $Header: Makefile.SH,v 1.0.1.4 88/01/28 10:17:59 root Exp $ +# $Header: Makefile.SH,v 1.0.1.5 88/02/02 11:20:49 root Exp $ # # $Log: Makefile.SH,v $ +# Revision 1.0.1.5 88/02/02 11:20:49 root +# patch13: added d_symlink dependency, changed TEST to ./perl TEST. +# # Revision 1.0.1.4 88/01/28 10:17:59 root # patch8: added perldb.man # @@ -44,6 +53,7 @@ SMALL = $small LARGE = $large $split mallocsrc = $mallocsrc mallocobj = $mallocobj +SLN = $sln libs = $libnm -lm !GROK!THIS! @@ -152,7 +162,7 @@ depend: makedepend test: perl chmod 755 t/TEST t/base.* t/comp.* t/cmd.* t/io.* t/op.* - cd t && (rm -f perl; ln -s ../perl . || ln ../perl .) && TEST + cd t && (rm -f perl; $(SLN) ../perl .) && ./perl TEST clist: echo $(c) | tr ' ' '\012' >.clist |