autogen.sh: avoid touching .po files during 'make'
authorDavid Schleef <ds@schleef.org>
Wed, 22 Feb 2012 02:56:42 +0000 (18:56 -0800)
committerDavid Schleef <ds@schleef.org>
Wed, 22 Feb 2012 02:56:42 +0000 (18:56 -0800)
A simple workaround to deal with GNU gettext automake integration
failing to deal with git.  Fixes #669207

autogen.sh

index 8a56c7a..a7f26df 100755 (executable)
@@ -29,6 +29,10 @@ then
     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 $@