diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-04-26 13:58:21 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-04-26 13:58:21 +0000 |
commit | 50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 (patch) | |
tree | 7ef931607cf258793edffa5deb1ddb1f46469d04 /depfix.sed | |
parent | f3db3566b5e1342e49dffc5ec3f418a838584194 (diff) | |
download | e2fsprogs-50e1e10fa0ac12a3e2a9d20a75ee9041873cda96.tar.gz |
Many files:E2FSPROGS-0_5B
Checked in e2fsprogs 0.5c
Diffstat (limited to 'depfix.sed')
-rw-r--r-- | depfix.sed | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/depfix.sed b/depfix.sed new file mode 100644 index 00000000..1bcf1126 --- /dev/null +++ b/depfix.sed @@ -0,0 +1,33 @@ +# +# Insert the header..... +# +1i\ +# +++ Dependency line eater +++\ +# \ +# Makefile dependencies follow. This must be the last section in\ +# the Makefile.in file\ +# + +# +# Remove line continuations.... +# +#:FIRST +#y/ / / +#s/^ *// +#/\\$/{ +#N +#y/ / / +#s/\\\n */ / +#bFIRST +#} +#s/ */ /g + +s;/usr/include/[^ ]* *;;g +s;/usr/lib/[^ ]* *;;g +s;/mit/cygnus[^ ]* *;;g + +# +# Now insert a trailing newline... +# +$a\ + |