commit access
Richard Laager
rlaager at wiktel.com
Sat Nov 3 22:15:56 EDT 2007
On Fri, 2007-11-02 at 16:39 +0100, Bjoern Voigt wrote:
> 2. We can commit as often as we need. But if we use the --no-location
> switch for xgettext. (with Intltool this is: "env
> XGETTEXT_ARGS=--no-location intltool-update XX.po") the commit do
> not get so big.
I like this idea. I was in favor of this before you mentioned that this
option existed. I've looked for a right way to do this. I've found a
number of references to po/Makevars, but I just can't figure it out.
I've hacked this up, which does the trick. I'm looking for input.
Richard
--- autogen.sh b48de39c5fc7a0509a715ba2b5a230ab7ccb9ba7
+++ autogen.sh e4888078fb7312862efa49b7c5a4f0c72039c48f
@@ -59,7 +59,8 @@ glib-gettextize --force --copy
libtoolize -c -f --automake
glib-gettextize --force --copy
-intltoolize --force --copy
+intltoolize --force --copy --automake
+(echo XGETTEXT_ARGS=--no-location ; sed "s|INTLTOOL_EXTRACT=\$(INTLTOOL_EXTRACT
)|XGETTEXT_ARGS=\$(XGETTEXT_ARGS) \0|" po/Makefile.in.in) > po/Makefile.in.in~ &
& mv -f po/Makefile.in.in~ po/Makefile.in.in
aclocal $ACLOCAL_FLAGS || exit;
autoheader || exit;
automake --add-missing --copy;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://pidgin.im/pipermail/translators/attachments/20071103/cd332bcb/attachment.pgp
More information about the Translators
mailing list