diff options
Diffstat (limited to 'src/util/depfix.sed')
-rw-r--r-- | src/util/depfix.sed | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/depfix.sed b/src/util/depfix.sed index 262b4abbd1..f5cb27b900 100644 --- a/src/util/depfix.sed +++ b/src/util/depfix.sed @@ -20,11 +20,20 @@ y/ / / s/\\\n */ / bFIRST } +# for simplicity, always have a trailing space +s/$/ / s/ */ /g s;/usr/include/[^ ]* ;;g s;/usr/lib/[^ ]* ;;g s;/mit/cygnus[^ ]* ;;g +# now delete trailing whitespace +s; *$;;g + +# Split lines if they're too long. +s/\(.\{50\}[^ ]*\) /\1 \\\ + /g + # # Now insert a trailing newline... |