Fwd: gettext incompatible with automake's distcheck target?
To: Deb18n, TP lists
Jens, it's a good idea to CC gettext queries to the TP list, where
Bruno Haible can see them.
Bruno, sorry to drop this on you without so much as a greeting, but FYI:
Begin forwarded message:
From: Jens Seidel <firstname.lastname@example.org>
Date: 23 September 2009 9:17:41 PM
Subject: gettext incompatible with automake's distcheck target?
I tried to use in an automake based project gettext but I always get
errors starting "make distcheck". The problem seems to be that a
source directory is used during this step and make update-po is
po/ which tries to update the POT file in the source directory. This
make: Entering directory `/home/jens/.../myProject/_build/po'
/usr/bin/xgettext --default-domain=myProject --directory=../.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
&& test ! -f myProject.po \
|| ( rm -f ../../po/myProject.pot \
&& mv myProject.po ../../po/myProject.pot )
rm: cannot remove `../../po/myProject.pot': Permission denied
make: *** [rhost.pot-update] Error 1
I really cannot believe that I'm the first user of automake/gettext
noticed this. How to solve it?
To UNSUBSCRIBE, email to debian-i18n-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
I'm hoping to catch up with list mail soon! Salut! :)
Vietnamese Free Software Translation Team