summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2012-02-21 18:56:42 -0800
committerDavid Schleef <ds@schleef.org>2012-02-21 18:56:42 -0800
commit60df59bed1bee71c89997e91c77d4636d7b75a27 (patch)
tree2816a0c8af391c01a85b1bc7ba8dd510844a977a
parent342a04c9d2a7031035d5b3ad55aeceddb15f04bc (diff)
autogen.sh: avoid touching .po files during 'make'
A simple workaround to deal with GNU gettext automake integration failing to deal with git. Fixes #669207
-rwxr-xr-xautogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 8a56c7acc..a7f26dfe2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -26,12 +26,16 @@ fi
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
then
rm -f .git/hooks/pre-commit
ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
fi
+# GNU gettext automake support doesn't get along with git.
+# https://bugzilla.gnome.org/show_bug.cgi?id=661128
+touch -t 200001010000 po/$package-0.10.pot
+
CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'
autogen_options $@
printf "+ check for build tools"
if test ! -z "$NOCHECK"; then echo " skipped"; else echo; fi