diff options
| author | Philipp Klaus <philipp.klaus@gmail.com> | 2011-06-21 17:12:21 +0200 |
|---|---|---|
| committer | Philipp Klaus <philipp.klaus@gmail.com> | 2011-06-21 17:12:21 +0200 |
| commit | 4535ac486ce87b6a7257a7959426138405b7ecf8 (patch) | |
| tree | 2b397f1430e62032aa696dd8fe0b91fd8b6a3269 /depfix.sed | |
| download | pwgen-4535ac486ce87b6a7257a7959426138405b7ecf8.zip | |
automatic commit for pwgen-2.0
Diffstat (limited to 'depfix.sed')
| -rw-r--r-- | depfix.sed | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/depfix.sed b/depfix.sed new file mode 100644 index 0000000..11c83e9 --- /dev/null +++ b/depfix.sed @@ -0,0 +1,33 @@ +# +# 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\ + |