mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-05 07:54:40 +08:00
e2a99be61e
depfix.sed: Remove all line continuations from the dependencies; the word wrapping is now done by wordwrap.pl. README, RELEASE-NOTES, TODO, e2fsprogs.spec: Update for 1.15 release.
34 lines
387 B
Sed
34 lines
387 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
|
|
|
|
#
|
|
# Now insert a trailing newline...
|
|
#
|
|
$a\
|
|
|