File: depfix.sed

package info (click to toggle)
dump 0.4b41-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,416 kB
  • ctags: 1,987
  • sloc: ansic: 17,610; sh: 3,185; makefile: 210; sed: 5
file content (34 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (9)
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
# $Id: depfix.sed,v 1.2 1999/10/11 13:31:04 stelian Exp $
#
# 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\