summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH3
1 files changed, 2 insertions, 1 deletions
diff --git a/makedepend.SH b/makedepend.SH
index ec21795429..4ab1ec3809 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -155,11 +155,12 @@ 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 |
+ $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c 2>&1 |
$sed \
-e '1d' \
-e '/^#.*<stdin>/d' \
-e '/^#.*"-"/d' \
+ -e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
-e 's/^[ ]*#[ ]*line/#/' \
-e '/^# *[0-9][0-9]* *[".\/]/!d' \