aboutsummaryrefslogtreecommitdiff
path: root/gcc/po
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2017-02-16 19:38:47 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2017-02-16 19:38:47 +0000
commit68be8f736732e28eb61e3aead22227ee2dd65a24 (patch)
treee4f4c6240d16697f170f29539f7229c5bef461f1 /gcc/po
parent1e163090d5d15d9c26fd89cfee5443418e2e968f (diff)
downloadgcc-68be8f736732e28eb61e3aead22227ee2dd65a24.zip
gcc-68be8f736732e28eb61e3aead22227ee2dd65a24.tar.gz
gcc-68be8f736732e28eb61e3aead22227ee2dd65a24.tar.bz2
exgettext (BUGURL): Introduce, and use instead of four hardcoded instances.
* exgettext (BUGURL): Introduce, and use instead of four hardcoded instances. From-SVN: r245513
Diffstat (limited to 'gcc/po')
-rw-r--r--gcc/po/ChangeLog5
-rw-r--r--gcc/po/exgettext10
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 5dda71e..08c64aa 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-16 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * exgettext (BUGURL): Introduce, and use instead of four
+ hardcoded instances.
+
2017-02-15 Joseph Myers <joseph@codesourcery.com>
* es.po: Update.
diff --git a/gcc/po/exgettext b/gcc/po/exgettext
index 2fad700..65bd205 100644
--- a/gcc/po/exgettext
+++ b/gcc/po/exgettext
@@ -21,6 +21,8 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
+BUGURL="https://gcc.gnu.org/bugs/"
+
# Always operate in the C locale.
LANG=C
LANGUAGE=C
@@ -293,13 +295,13 @@ echo "running xgettext..." >&2
$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" \
+ --msgid-bugs-address="$BUGURL" \
--language=c -o $pottmp1
if test -s $posrcxx; then
$xgettext --default-domain=$package --directory=$srcdir \
--add-comments `cat $kopt` --files-from=$posrcxx \
--copyright-holder="Free Software Foundation, Inc." \
- --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \
+ --msgid-bugs-address="$BUGURL" \
--language=c++ -o $pottmp2
else
echo > $pottmp2
@@ -307,12 +309,12 @@ fi
$xgettext --default-domain=$package --directory=$srcdir \
--add-comments --keyword= `cat $kopt2` --files-from=$posr \
--copyright-holder="Free Software Foundation, Inc." \
- --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \
+ --msgid-bugs-address="$BUGURL" \
--language=GCC-source -o $pottmp3
$xgettext --default-domain=$package \
--add-comments $pottmp1 $pottmp2 $pottmp3 \
--copyright-holder="Free Software Foundation, Inc." \
- --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \
+ --msgid-bugs-address="$BUGURL" \
--language=PO -o $pottmp
# Remove local paths from .pot file.
sed "s:$srcdir/::g;s:$pwd/::g;" <$pottmp >po/$package.pot