OSDN Git Service

* dep-in.sed: Don't use \n in replacement part of s command.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 4 Jun 2009 06:56:41 +0000 (06:56 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 4 Jun 2009 06:56:41 +0000 (06:56 +0000)
* Makefile.am (DEP1): LC_ALL for uniq.
* Makefile.in: Regenerate.

opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/dep-in.sed

index 21eff9e..7b8e100 100644 (file)
@@ -1,3 +1,9 @@
+2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Don't use \n in replacement part of s command.
+       * Makefile.am (DEP1): LC_ALL for uniq.
+       * Makefile.in: Regenerate.
+
 2009-06-02  Nick Clifton  <nickc@redhat.com>
 
        * po/nl.po: Updated Dutch translation.
index 665bdd4..d2a76c7 100644 (file)
@@ -654,7 +654,8 @@ DEP1: $(CFILES)
        for f in $?; do \
          $(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
          sed -n -e '1s/\.o: .*/.lo: \\/p' -e q < DEPA >> DEP2; \
-         sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+         sed -e '1s/.*: //' -f dep.sed < DEPA | \
+           LC_ALL=C sort | LC_ALL=C uniq | \
            sed -e 's/^[AB]/  /' -e '$$s/ \\$$//' >> DEP2; \
        done
        rm -f DEPA
index b1eb9d4..9dc3c55 100644 (file)
@@ -1219,7 +1219,8 @@ DEP1: $(CFILES)
        for f in $?; do \
          $(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
          sed -n -e '1s/\.o: .*/.lo: \\/p' -e q < DEPA >> DEP2; \
-         sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+         sed -e '1s/.*: //' -f dep.sed < DEPA | \
+           LC_ALL=C sort | LC_ALL=C uniq | \
            sed -e 's/^[AB]/  /' -e '$$s/ \\$$//' >> DEP2; \
        done
        rm -f DEPA
index df8bc1e..56403a9 100644 (file)
@@ -15,5 +15,6 @@ s! \.\./intl/libintl\.h!!g
 s/ *$//
 s/  */ /g
 s/^ */A/
-s/ / \\\nB/g
+s/ / \\\
+B/g
 $s/$/ \\/