This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: I18N: automatic determination of potfiles list
Zack Weinberg wrote:
> Ok, here's a revised patch which incorporates your suggestions. Also,
> I actually tested "make install" this time and fixed the bugs thus
> exposed.
But probably not when *not* having the underlying tools installed:
> +# Rules for generating translated message descriptions.
> +# Disabled by autoconf if the tools are not available.
> +
> +XGETTEXT = @XGETTEXT@
> +GMSGFMT = @GMSGFMT@
> +MSGMERGE = msgmerge
...
> +# Update files in $(srcdir) atomically.
> +.po.gmo:
> + test -d po || mkdir po
> + $(GMSGFMT) --statistics $< -o $@
> + $(SHELL) $(srcdir)/move-if-change $@ $(srcdir)/$@
Disabled by autoconf ? Alas, I don't think so:
(cd intl && make all)
make[3]: Entering directory
`/home/toon/compilers/snapshots/build/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/toon/compilers/snapshots/build/gcc/intl'
test -d po || mkdir po
: --statistics ../../combined/gcc/po/sv.po -o po/sv.gmo
/bin/sh ../../combined/gcc/move-if-change po/sv.gmo
../../combined/gcc/po/sv.gmo
mv: po/sv.gmo: No such file or directory
make[2]: *** [po/sv.gmo] Error 1
[ Note the : --statistics ]
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)