]> git.saurik.com Git - bison.git/commitdiff
* bootstrap (runtime-po/Makevars): Derive from po/Makevars
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Nov 2006 20:01:48 +0000 (20:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Nov 2006 20:01:48 +0000 (20:01 +0000)
instead of from the template, to simplify configuration a bit.
* bootstrap.conf (excluded_files): Don't exclude m4/codeset.m4
and m4/wint_t.m4, as they are needed with the latest gnulib.

ChangeLog
bootstrap
bootstrap.conf

index f4fb9918ca1d1d8f60065e1f2082267e6ce9c0ea..1a7d90906d566c7014014b39d5b7b640b8da444d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * bootstrap (runtime-po/Makevars): Derive from po/Makevars
+       instead of from the template, to simplify configuration a bit.
+       * bootstrap.conf (excluded_files): Don't exclude m4/codeset.m4
+       and m4/wint_t.m4, as they are needed with the latest gnulib.
+
 2006-10-31  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Disable unset/unused mid-rule value warnings by default, and recognize
index 07f2460a94437a13fb46d5dd22a8a17d3a150bd5..238873e3e20447b878169e33692aea0715474bb4 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -475,18 +475,13 @@ sed '
 ' po/Makevars.template >po/Makevars
 
 if test -d runtime-po; then
-  # Similarly for runtime-po/Makevars, but not quite the same.
+  # Likewise for runtime-po/Makevars, except also change a few other parameters.
   rm -f runtime-po/Makevars
   sed '
-    /^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
+    s/^\(DOMAIN\) *=.*/\1 = '"$package"'-runtime/
+    s/^\(subdir\) *=.*/\1 = runtime-po/
+    s/^\(XGETTEXT_OPTIONS\) *=.*/\1 = '"$XGETTEXT_OPTIONS_RUNTIME"'/
+  ' <po/Makevars >runtime-po/Makevars
 
   # Copy identical files from po to runtime-po.
   (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po)
index 28e1894b8f7799a3d4050e691f40fe96f60d7962..0bc4e54e2d9b22aacf7bcfe35819bc7abe74eca9 100644 (file)
@@ -47,7 +47,6 @@ XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
 # Gettext supplies these files, but we don't need them since
 # we don't have an intl subdirectory.
 excluded_files='
-    m4/codeset.m4
     m4/glibc2.m4
     m4/glibc21.m4
     m4/intdiv0.m4
@@ -62,6 +61,5 @@ excluded_files='
     m4/uintmax_t.m4
     m4/ulonglong.m4
     m4/visibility.m4
-    m4/wint_t.m4
     m4/xsize.m4
 '