Hello, Here's a simple patch that fixes the issue. -- Cheers, Andrew
diff --git a/imake/mdepend.cpp b/imake/mdepend.cpp
--- a/imake/mdepend.cpp
+++ b/imake/mdepend.cpp
@@ -193,12 +193,12 @@ do
$CPPCMD $i \
| sed -n "/^#/s;^;$i ;p"
done \
- | sed -e 's|/[^/.][^/]*/\.\.||g' -e 's|/\.[^.][^/]*/\.\.||g' \
- -e 's|"||g' -e 's| \./| |' \
+ | sed -e '/<command-line>/d' -e 's|/[^/.][^/]*/\.\.||g' \
+ -e 's|/\.[^.][^/]*/\.\.||g' -e 's|"||g' -e 's| \./| |' \
| awk '{
if ($1 != $4 && $2 != "#ident" && $2 != "#pragma")
{
- numparts = split( $1, ofileparts, "\." )
+ numparts = split( $1, ofileparts, "." )
ofile = ""
for ( i = 1; i < numparts; i = i+1 )
{
Attachment:
signature.asc
Description: PGP signature