File: depfix.sed

package info (click to toggle)
e2fsprogs 1.43.4-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 33,952 kB
  • ctags: 11,812
  • sloc: ansic: 120,622; sh: 5,852; makefile: 5,473; awk: 523; yacc: 288; sed: 207; perl: 170; python: 23
file content (35 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# 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\