mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-02 22:43:48 +08:00
499d5ec558
Also fixed depfix.sed Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
36 lines
463 B
Sed
36 lines
463 B
Sed
#
|
|
# 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
|
|
s;\.\./[^ ]*lib/blkid/blkid[^ ]* *;;g
|
|
s;\.\./[^ ]*lib/uuid/uuid.h[^ ]* *;;g
|
|
|
|
#
|
|
# Now insert a trailing newline...
|
|
#
|
|
$a\
|
|
|