[virt-tools-list] [libosinfo v3 3/3] Steal libvirt magic for picking translation files

Christophe Fergeau cfergeau at redhat.com
Wed Oct 31 09:22:16 UTC 2012


On Tue, Oct 30, 2012 at 11:08:53PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> This is needed since we don't want to have a static LINGUAS file.

Oh, and can you mention that without either ALL_LINGUAS or LINGUAS, the
translations don't get installed?

Christophe

> ---
>  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
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121031/2baace25/attachment.sig>


More information about the virt-tools-list mailing list