summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorHans Ranke <Hans.Ranke@ei.tum.de>2002-07-08 18:17:00 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-09 13:05:43 +0000
commit0fcc65bb90871a92ca233207ff84015dfc78f2a6 (patch)
tree8d74459df220e6d471312a0165c4ca5193ffb85f /makedepend.SH
parent8b19b778095c65c753c5e9d223cac7401a43bd7f (diff)
downloadperl-0fcc65bb90871a92ca233207ff84015dfc78f2a6.tar.gz
[ID 20020708.001] makedepend problem (output of cppstdin garbled)
Message-Id: <5.8.0_12541_1026136670@regency> p4raw-id: //depot/perl@17436
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH6
1 files changed, 3 insertions, 3 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 589499502e..b8581e9cd7 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -150,7 +150,7 @@ for file in `$cat .clist`; do
-e 's|\.c\.c|.c|' $uwinfix | \
$uniq | $sort | $uniq >> .deptmp
else
- $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c 2>&1 |
+ $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c >.cout 2>.cerr
$sed \
-e '1d' \
-e '/^#.*<stdin>/d' \
@@ -165,7 +165,7 @@ for file in `$cat .clist`; do
-e 's/^.*"\(.*\)".*$/'$filebase'\$(OBJ_EXT): \1/' \
-e 's/^# *[0-9][0-9]* \(.*\)$/'$filebase'\$(OBJ_EXT): \1/' \
-e 's|: \./|: |' \
- -e 's|\.c\.c|.c|' $uwinfix | \
+ -e 's|\.c\.c|.c|' $uwinfix .cout .cerr| \
$uniq | $sort | $uniq >> .deptmp
fi
done
@@ -230,7 +230,7 @@ $rm -f $mf
$cp $mf.new $mf
$rm $mf.new
$echo "# WARNING: Put nothing here or make depend will gobble it up!" >> $mf
-$rm -rf .deptmp UU .shlist .clist .hlist .hsed
+$rm -rf .deptmp UU .shlist .clist .hlist .hsed .cout .cerr
rmdir .depending
!NO!SUBS!