bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sync bootstrap from Bison


From: Paul Eggert
Subject: sync bootstrap from Bison
Date: Fri, 13 Oct 2006 12:07:44 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

This shouldn't affect coreutils, but I like to keep the scripts in sync,
so I installed this:

2006-10-13  Paul Eggert  <address@hidden>

        Sync from Bison, as follows:

        2006-10-01  Paul Eggert  <address@hidden>

        Fix problems with translating English-language diagnostics.
        * bootstrap: Fix bug introduced in recent bootstrap changes, with
        respect to bison-runtime pot generation.  The YY_ stuff
        wasn't being captured.

--- bootstrap   11 Oct 2006 23:03:55 -0000      1.21
+++ bootstrap   13 Oct 2006 19:04:19 -0000
@@ -460,13 +460,18 @@ sed '
 ' po/Makevars.template >po/Makevars
 
 if test -d runtime-po; then
-  # Likewise for runtime-po/Makevars, except also change a few other 
parameters.
+  # Similarly for runtime-po/Makevars, but not quite the same.
   rm -f runtime-po/Makevars
   sed '
-    s/^\(DOMAIN\) *=.*/\1 = '"$package"'-runtime/
-    s/^\(subdir\) *=.*/\1 = runtime-po/
-    s/^\(XGETTEXT_OPTIONS\) *=.*/\1 = '"$XGETTEXT_OPTIONS_RUNTIME"'/
-  ' <po/Makevars >runtime-po/Makevars
+    /^DOMAIN *=.*/s/=.*/= '"$package"'-runtime/
+    /^subdir *=.*/s/=.*/= runtime-po/
+    /^MSGID_BUGS_ADDRESS *=/s/=.*/= bug-'"$package"'@gnu.org/
+    /^XGETTEXT_OPTIONS *=/{
+      s/$/ \\/
+      a\
+         '"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+}
+    }
+  ' <po/Makevars.template >runtime-po/Makevars
 
   # Copy identical files from po to runtime-po.
   (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]