From c043fab83a49ede3d4be62a6cb99d488957e739f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 9 Nov 2004 21:57:17 +0000 Subject: [PATCH] * exgettext: Remove local srcdir and objdir paths from gcc.pot. From-SVN: r90367 --- gcc/po/ChangeLog | 4 ++++ gcc/po/exgettext | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 00c5602..ffbbbd8 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,5 +1,9 @@ 2004-11-09 Joseph S. Myers + * exgettext: Remove local srcdir and objdir paths from gcc.pot. + +2004-11-09 Joseph S. Myers + * gcc.pot: Regenerate. 2004-11-07 Joseph S. Myers diff --git a/gcc/po/exgettext b/gcc/po/exgettext index 691dad9..0aa22ef 100644 --- a/gcc/po/exgettext +++ b/gcc/po/exgettext @@ -167,4 +167,7 @@ $xgettext --default-domain=$package --directory=$srcdir \ --add-comments `cat $kopt` --files-from=$posr \ --copyright-holder="Free Software Foundation, Inc." \ --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ - --language=c -o po/$package.pot + --language=c -o po/$package.pot.tmp +# Remove local paths from .pot file. +sed "s:$srcdir/::g;s:$pwd/::g;" po/$package.pot +rm po/$package.pot.tmp -- 2.7.4