summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1991-01-11 05:47:59 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1991-01-11 05:47:59 +0000
commit7e1cf235bd6c3a4fbf1093f84db8002929b8b6c6 (patch)
treeb40f89bf7894e94dab7bb84fc004eb03bd4b904a /Makefile.SH
parent4e8eb4f0f838674cc353c6a5ff3e06ff40cd5ea9 (diff)
downloadperl-7e1cf235bd6c3a4fbf1093f84db8002929b8b6c6.tar.gz
perl 3.0 patch #42 (combined patch)
Most of these patches are pretty self-explanatory. Much of this is random cleanup in preparation for version 4.0, so I won't talk about it here. A couple of things should be noted, however. First, there's a new -0 option that allows you to specify (in octal) the initial value of $/, the record separator. It's primarily intended for use with versions of find that support -print0 to delimit filenames with nulls, but it's more general than that: null ^A default CR paragraph mode file slurp mode This feature is so new that it didn't even make it into the book. The other major item is that different patchlevels of perl can now coexist in your bin directory. The names "perl" and "taintperl" are just links to "perl3.044" and "tperl3.044". This has several benefits. The perl3.044 invokes the corresponding tperl3.044 rather than taintperl, so it always runs the correct version. Second, you can "freeze" a script by putting a #! line referring to a version that it is known to work with. Third, you can put a new version out there to try out before making it the default perl. Lastly, it sells more disk drives. :-) Barring catastrophe, this will likely be the last patch before version 4.0 comes out.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH45
1 files changed, 5 insertions, 40 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 700f229249..7a2bfeb857 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -25,9 +25,12 @@ esac
echo "Extracting Makefile (with variable substitutions)"
cat >Makefile <<!GROK!THIS!
-# $Header: Makefile.SH,v 3.0.1.11 90/11/10 01:25:51 lwall Locked $
+# $Header: Makefile.SH,v 3.0.1.12 91/01/11 17:05:17 lwall Locked $
#
# $Log: Makefile.SH,v $
+# Revision 3.0.1.12 91/01/11 17:05:17 lwall
+# patch42: added installperl script
+#
# Revision 3.0.1.11 90/11/10 01:25:51 lwall
# patch38: new arbitrary precision libraries from Mark Biggar
#
@@ -314,45 +317,7 @@ perl.man: perl_man.1 perl_man.2 perl_man.3 perl_man.4 patchlevel.h perl
cat perl_man.[1-4] >>perl.man
install: all
-# won't work with csh
- export PATH || exit 1
- - rm -f $(bin)/perl.old $(bin)/suidperl $(bin)/taintperl
- - mv $(bin)/perl $(bin)/perl.old 2>/dev/null
- - if test `pwd` != $(bin); then cp $(public) $(bin); fi
- - cd $(bin); \
-for pub in $(public); do \
-chmod +x `basename $$pub`; \
-done
- - chmod 755 $(bin)/taintperl 2>/dev/null
-!NO!SUBS!
-
-case "$d_dosuid" in
-*define*)
- cat >>Makefile <<'!NO!SUBS!'
- - chmod 4711 $(bin)/suidperl 2>/dev/null
-!NO!SUBS!
- ;;
-esac
-
-cat >>Makefile <<'!NO!SUBS!'
- - test $(bin) = /usr/bin || rm -f /usr/bin/perl
- - test $(bin) = /usr/bin || $(SLN) $(bin)/perl /usr/bin || cp $(bin)/perl /usr/bin
- - chmod +x $(scripts)
- - cp $(scripts) $(scriptdir)
- - sh ./makedir $(privlib)
- - \
-if test `pwd` != $(privlib); then \
-cp $(private) lib/*.pl $(privlib); \
-fi
-# cd $(privlib); \
-#for priv in $(private); do \
-#chmod +x `basename $$priv`; \
-#done
- - if test `pwd` != $(mansrc); then \
-for page in $(manpages); do \
-cp $$page $(mansrc)/`basename $$page .man`.$(manext); \
-done; \
-fi
+ ./perl installperl
cd x2p; $(MAKE) install
clean: