summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorKriton Kyrimis <kyrimis@princeton.edu>1988-02-01 22:28:33 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-02-01 22:28:33 +0000
commit2e1b3b7e9018b7d16d598adb631073672439d869 (patch)
tree6ee91f55ef0c0cf0f9e15c0683ddfccd84c022be /makedepend.SH
parent9bb9d9f726fa55c70ed76abad9fe7c61d4eb4182 (diff)
downloadperl-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 'makedepend.SH')
-rw-r--r--makedepend.SH7
1 files changed, 5 insertions, 2 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 6b20cac7bf..5a8d9794fe 100644
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -15,9 +15,12 @@ esac
echo "Extracting makedepend (with variable substitutions)"
$spitshell >makedepend <<!GROK!THIS!
$startsh
-# $Header: makedepend.SH,v 1.0 87/12/18 17:54:32 root Exp $
+# $Header: makedepend.SH,v 1.0.1.1 88/02/02 11:24:05 root Exp $
#
# $Log: makedepend.SH,v $
+# Revision 1.0.1.1 88/02/02 11:24:05 root
+# patch13: removed spurious -I./h.
+#
# Revision 1.0 87/12/18 17:54:32 root
# Initial revision
#
@@ -83,7 +86,7 @@ for file in `$cat .clist`; do
-e 's|\\$||' \
-e p \
-e '}'
- $cpp -I/usr/local/include -I. -I./h $file.c | \
+ $cpp -I/usr/local/include -I. $file.c | \
$sed \
-e '/^# *[0-9]/!d' \
-e 's/^.*"\(.*\)".*$/'$filebase'.o: \1/' \