>>> "Bruno" == Bruno Haible <[EMAIL PROTECTED]> writes:

 Bruno> Salut Alexandre,
 >> * Using gettext-0.14.2 with CVS Autoconf fails to install po/ files during
 >> make install.
 >> 
 >> po/Makefile.in.in has
 >> 
 >> datadir = @datadir@
 >> localedir = $(datadir)/locale
 >> 
 >> but CVS Autoconf defines @datadir@ as ${datarootdir} which is not
 >> defined by po/Makefile.in.in.

 Bruno> This is obviously a bug in autoconf: It breaks a working
 Bruno> Makefile.in.

Actually, it's a change of the GNU Coding Standard.  

Makefile.in authors must define `datarootdir = @datarootdir@'
when using Autoconf, because this variable is now a base
directory for many other variables.

 Bruno> There are lots of hand-built Makefile.in.

Those people will have to update their Makefile.in when
upgrading Autoconf.  I agree it's unfortunate, but I can't think
of any other solution.  (Ignoring the GCS isn't really a
solution.)

  Bruno> You can not assume that everyone is using automake.

Unfortunately :) People who write their own Makefile.ins have to
follows the GCS evolution by themselves.  But hey, they chose
this way.

 Bruno> # Directories used by "make install":
 Bruno> prefix = @prefix@
 Bruno> local_prefix = /usr/local
 Bruno> exec_prefix = @exec_prefix@
 Bruno> datadir = @datadir@
 Bruno> infodir = @infodir@
 Bruno> mandir = @mandir@
 Bruno> man1dir = $(mandir)/man1
 Bruno> docdir = $(datadir)/doc/@PACKAGE@
 Bruno> dvidir = $(docdir)
 Bruno> psdir = $(docdir)
 Bruno> pdfdir = $(docdir)
 Bruno> htmldir = $(docdir)

Yep :( This lacks a datarootdir definition, and the definition
of docdir, dvidir, psdir, pdfdir, and htmldir will also have to
be changed to @docdir@, @dvidir@, etc. as specified in the GCS.
-- 
Alexandre Duret-Lutz



Reply via email to