Re: Whys is `make dist` packaging gmo files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andrew Smith on 8/9/2007 12:34 AM:
> They compile and install and run fine. But when I do `make dist` I end
> up with sv.gmo and zh_TW.gmo (as well as the expected sv.po, zh_TW.po)
> in my po dir. I thought these were binary and not portable?

They are indeed binary, but they ARE portable, as the file layout is
specifically machine-independent.  Read up on .gmo files in the gettext
manual.  When you install an internationalized package, it is the .gmo
file that gets placed into the locale directory (renamed to .mo); the
gettext() function is more efficient operating on a binary file than it
would be on the source .po that generated it.

> 
> Would someone share why this may be happening and what I can do to avoid
> it?

You don't want to avoid it, otherwise your package would not have i18n
support.

> Also I just noticed a make clean doesn't delete the .gmo files.

How about 'make distclean'?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuwVH84KuGfSFAYARAsIgAJwMF9aNNDoLjV5HUl5Ddzb0XnUXngCgkegH
pH2c0k8dGj59kPyDAREgRAU=
=Rok7
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux