[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using defining datarootdir in Gettext (Was: Re: les modifs de gettex

From: Alexandre Duret-Lutz
Subject: Re: using defining datarootdir in Gettext (Was: Re: les modifs de gettextize)
Date: Mon, 14 Mar 2005 18:41:31 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>> "Bruno" == Bruno Haible <address@hidden> 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

  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

[Prev in Thread] Current Thread [Next in Thread]