Hello list.
I'm trying to sanitize sympa (www.sympa.org) usage of autotools. I made
a few attempts to use automake builtin gettext support, as explained at
http://www.lrde.epita.fr/~adl/autotools.html, but I don't think that is
really suited for my needs.
First, sympa is mainly a perl program, and the only native parts are
only wrapper without any translation, meaing I don't need any support
for libintl linking.
Second, many of the strings to be translated occurs in tt2 template
files, and xgettext.pl (distributed in Locale-Maketext-Lexicon) does a
far better job than GNU xgexttext to extract them (I don't think gnu
gettext could recognize patterns such as [% |l(args) %]string[% END %],
even with --keyword option).
So, is there a way to benefit from automake-generated make rules for
managing (building, installing, distributing, etc...) .pot, .mo and .po
files, but with an external xgettext program ?
Or should I manage this just as ordinary data files, such as:
localedir = $(datadir)/locale
nobase_locale_DATA = fr_FR/LC_MESSAGES/sympa.mo \
...
Thanks.
--
BOFH excuse #184:
loop found in loop in redundant loopback