]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - depfix.sed
e4defrag: defensively check results of sysconf(_SC_PAGESIZE)
[thirdparty/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 s;\.\./[^ ]*lib/blkid/blkid[^ ]* *;;g
29 s;\.\./[^ ]*lib/uuid/uuid.h[^ ]* *;;g
30
31 #
32 # Now insert a trailing newline...
33 #
34 $a\
35