~ubuntu-branches/debian/sid/pwgen/sid

« back to all changes in this revision

Viewing changes to depfix.sed

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Renardias
  • Date: 2001-12-06 17:38:58 UTC
  • Revision ID: james.westby@ubuntu.com-20011206173858-jf0wwxjtrm7e68hg
Tags: upstream-2.01
ImportĀ upstreamĀ versionĀ 2.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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