Whamcloud - gitweb
Many files:
[tools/e2fsprogs.git] / depfix.sed
1 #
2 # Insert the header.....
3 #
4 1i\
5 # +++ Dependency line eater +++\
6 # \
7 # Makefile dependencies follow.  This must be the last section in\
8 # the Makefile.in file\
9 #
10
11 #
12 # Remove line continuations....
13 #
14 #:FIRST
15 #y/     / /
16 #s/^ *//
17 #/\\$/{
18 #N
19 #y/     / /
20 #s/\\\n */ /
21 #bFIRST
22 #}
23 #s/  */ /g
24
25 s;/usr/include/[^ ]* *;;g
26 s;/usr/lib/[^ ]* *;;g
27 s;/mit/cygnus[^ ]* *;;g
28
29 #
30 # Now insert a trailing newline...
31 #
32 $a\
33