aboutsummaryrefslogtreecommitdiff
path: root/binutils/dep-in.sed
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dep-in.sed')
-rw-r--r--binutils/dep-in.sed12
1 files changed, 5 insertions, 7 deletions
diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed
index c30c396..0461228 100644
--- a/binutils/dep-in.sed
+++ b/binutils/dep-in.sed
@@ -1,6 +1,7 @@
:loop
/\\$/N
-/\\$/b loop
+s/\\\n */ /g
+t loop
s! \./! !g
s!@INCDIR@!$(INCDIR)!g
@@ -11,11 +12,8 @@ s!@SRCDIR@/!!g
s!@OBJDIR@/!!g
s! \.\./intl/libintl\.h!!g
-s/\\\n */ /g
-
s/ *$//
s/ */ /g
-/:$/d
-
-s/\(.\{50\}[^ ]*\) /\1 \\\
- /g
+s/^ */A/
+s/ / \\\nB/g
+$s/$/ \\/