Commit 68be8f73 by Gerald Pfeifer Committed by Gerald Pfeifer

exgettext (BUGURL): Introduce, and use instead of four hardcoded instances.

	* exgettext (BUGURL): Introduce, and use instead of four 
	hardcoded instances.

From-SVN: r245513
parent 1e163090
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> 2017-02-15 Joseph Myers <joseph@codesourcery.com>
* es.po: Update. * es.po: Update.
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
# along with GCC; see the file COPYING3. If not see # along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>. # <http://www.gnu.org/licenses/>.
BUGURL="https://gcc.gnu.org/bugs/"
# Always operate in the C locale. # Always operate in the C locale.
LANG=C LANG=C
LANGUAGE=C LANGUAGE=C
...@@ -293,13 +295,13 @@ echo "running xgettext..." >&2 ...@@ -293,13 +295,13 @@ echo "running xgettext..." >&2
$xgettext --default-domain=$package --directory=$srcdir \ $xgettext --default-domain=$package --directory=$srcdir \
--add-comments `cat $kopt` --files-from=$posr \ --add-comments `cat $kopt` --files-from=$posr \
--copyright-holder="Free Software Foundation, Inc." \ --copyright-holder="Free Software Foundation, Inc." \
--msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ --msgid-bugs-address="$BUGURL" \
--language=c -o $pottmp1 --language=c -o $pottmp1
if test -s $posrcxx; then if test -s $posrcxx; then
$xgettext --default-domain=$package --directory=$srcdir \ $xgettext --default-domain=$package --directory=$srcdir \
--add-comments `cat $kopt` --files-from=$posrcxx \ --add-comments `cat $kopt` --files-from=$posrcxx \
--copyright-holder="Free Software Foundation, Inc." \ --copyright-holder="Free Software Foundation, Inc." \
--msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ --msgid-bugs-address="$BUGURL" \
--language=c++ -o $pottmp2 --language=c++ -o $pottmp2
else else
echo > $pottmp2 echo > $pottmp2
...@@ -307,12 +309,12 @@ fi ...@@ -307,12 +309,12 @@ fi
$xgettext --default-domain=$package --directory=$srcdir \ $xgettext --default-domain=$package --directory=$srcdir \
--add-comments --keyword= `cat $kopt2` --files-from=$posr \ --add-comments --keyword= `cat $kopt2` --files-from=$posr \
--copyright-holder="Free Software Foundation, Inc." \ --copyright-holder="Free Software Foundation, Inc." \
--msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ --msgid-bugs-address="$BUGURL" \
--language=GCC-source -o $pottmp3 --language=GCC-source -o $pottmp3
$xgettext --default-domain=$package \ $xgettext --default-domain=$package \
--add-comments $pottmp1 $pottmp2 $pottmp3 \ --add-comments $pottmp1 $pottmp2 $pottmp3 \
--copyright-holder="Free Software Foundation, Inc." \ --copyright-holder="Free Software Foundation, Inc." \
--msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ --msgid-bugs-address="$BUGURL" \
--language=PO -o $pottmp --language=PO -o $pottmp
# Remove local paths from .pot file. # Remove local paths from .pot file.
sed "s:$srcdir/::g;s:$pwd/::g;" <$pottmp >po/$package.pot sed "s:$srcdir/::g;s:$pwd/::g;" <$pottmp >po/$package.pot
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment