[virt-tools-list] [libosinfo v4 2/2] Steal libvirt magic for picking translation files

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Oct 31 14:40:37 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

Since we don't keep a static LINGUAS file, we need to do this for
intltool to pick-up our translation (.po) files.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8741756..e3e4dd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,8 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[The name of the gette
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION([0.17])
 
+ALL_LINGUAS=`cd "$srcdir/po" > /dev/null && ls *.po | sed 's+\.po$++'`
+
 # Autoconf 2.61a.99 and earlier don't support linking a file only
 # in VPATH builds.  But since GNUmakefile is for maintainer use
 # only, it does not matter if we skip the link with older autoconf.
-- 
1.7.12.1




More information about the virt-tools-list mailing list