[gnumeric] autogen.sh: work around intltool bug.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] autogen.sh: work around intltool bug.
- Date: Sat, 17 Sep 2022 20:49:03 +0000 (UTC)
commit 636bf7031ad3b036c825374479ff5f7fd819fb4c
Author: Morten Welinder <terra gnome org>
Date: Sat Sep 17 16:48:01 2022 -0400
autogen.sh: work around intltool bug.
autogen.sh | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/autogen.sh b/autogen.sh
index 5ba0c19d2..dd26778a6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -41,6 +41,9 @@ XGETTEXT_KEYWORDS = --keyword --keyword=F_
/^EXTRA_DISTFILES/s/ LINGUAS//
' $srcdir/po/Makefile.in.in >$srcdir/po-functions/Makefile.in.in
+# Work around intltool bug
+perl -pi -e 's/( \.intltool-merge-cache\b)/\1 .intltool-merge-cache.lock/ if /^\trm\b/;'
$srcdir/po/Makefile.in.in
+
echo "Creating po-functions/POTFILES.{in,skip}."
rm -f $srcdir/po-functions/POTFILES.in $srcdir/po-functions/POTFILES.skip
# This regex matches names of XML files:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]