[beast/temp-rc1] BUILD: fix GLIB_GNU_GETTEXT to cope without po/POTFILES.in
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/temp-rc1] BUILD: fix GLIB_GNU_GETTEXT to cope without po/POTFILES.in
- Date: Wed, 22 Oct 2014 05:47:49 +0000 (UTC)
commit e12fe7b451d14d6cae2bde38086c35499c1e715b
Author: Tim Janik <timj gnu org>
Date: Fri Oct 17 06:06:13 2014 +0200
BUILD: fix GLIB_GNU_GETTEXT to cope without po/POTFILES.in
autotools/glib-gettext.m4 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/autotools/glib-gettext.m4 b/autotools/glib-gettext.m4
index 68b08b3..981ba77 100644
--- a/autotools/glib-gettext.m4
+++ b/autotools/glib-gettext.m4
@@ -378,7 +378,8 @@ glib_DEFUN([GLIB_GNU_GETTEXT],
posrcprefix="../"
fi
rm -f po/POTFILES
- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
+ test -e $srcdir/po/POTFILES.in && \
+ sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]