summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-10-13 19:07:21 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-10-13 19:07:21 +0000
commit5dea5d07cdad67d8ca1ce90eef9dc7847c057c02 (patch)
tree30d99e399ee323878d534ab5456d1915f498ed0f /bootstrap
parentf2c088fa101d888e77a17cb8648980d959695a61 (diff)
downloadcoreutils-5dea5d07cdad67d8ca1ce90eef9dc7847c057c02.tar.gz
Sync from Bison, as follows:
2006-10-01 Paul Eggert <eggert@cs.ucla.edu> 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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap15
1 files changed, 10 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index a2d4faa0a..21f2e0eb5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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)