summaryrefslogtreecommitdiff
path: root/macros/mate-autogen
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-02 10:56:41 +0100
committerinfirit <[email protected]>2014-12-02 11:16:35 +0100
commitf7f19b25350e21f61c7bc33fe2de552f8f7950c1 (patch)
tree98be2a5513340fba45e827af83079645649b84bb /macros/mate-autogen
parent0c0612b32516dbb1ab9d6e8c80d97d1b75890315 (diff)
downloadmate-common-f7f19b25350e21f61c7bc33fe2de552f8f7950c1.tar.bz2
mate-common-f7f19b25350e21f61c7bc33fe2de552f8f7950c1.tar.xz
mate-autogen.sh: run glib-gettexize if using GLib gettext
Based on gnome-common commit: d04839754bbbb6ffed9c4641fed801b586944820
Diffstat (limited to 'macros/mate-autogen')
-rw-r--r--macros/mate-autogen5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/mate-autogen b/macros/mate-autogen
index 1874ac6..e1ad39e 100644
--- a/macros/mate-autogen
+++ b/macros/mate-autogen
@@ -444,6 +444,11 @@ for configure_ac in $configure_files; do
mkdir -p $m4dir
fi
+ if grep "^AM_GLIB_GNU_GETTEXT" $basename >/dev/null; then
+ printbold "Running $GLIB_GETTEXTIZE... Ignore non-fatal messages."
+ echo "no" | $GLIB_GETTEXTIZE --force --copy || exit 1
+ fi
+
if grep "^GTK_DOC_CHECK" $basename >/dev/null; then
printbold "Running $GTKDOCIZE..."
$GTKDOCIZE --copy || exit 1