Subject: Troubles with make/install for localized info
From: Vadim V. Zhytnikov
Date: Sun, 18 Dec 2005 20:05:36 +0300
Robert Dodier writes:
>>The _real_ trouble is - I don't understand how to force
>>automake install Spanish translation into /es subdirectory.
>>It seems that there is no regular way to do so.
>>"all info in one directory" is hardwired in automake
>>internals.
>
>
> Thanks for the clarification, I think I understand better now.
> It appears that the location of the .info files is controlled
> by the variable $(infodir) in the Makefiles.
> I think infodir can be assigned as a configure parameter
> e.g. ./configure --infodir=/foo/bar/baz
> but that is no good for us since it changes all the infodir's,
> and we only want to change the directory for es and pt files.
>
> infodir can also be assigned on the make command line
> e.g. make install infodir=/foo/bar/baz
> That is a little better I guess since it allows a per-directory change.
Playing with infodir on different stages configure/make install
stages isn't good. infodir may be /foo/bar/baz for configure
but /my/temporary/install/dir/foo/bar/baz for make install.
And this is perfectly legal.
> Best of all would be to assign the value in Makefile.am.
> Not sure if we can do that. I'll keep looking.
As last resort we can drop automake but not for whole
project but rather for these localized info directories.
Delete Makefile.am, write Makefile.in ...
--
Vadim V. Zhytnikov