[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem in gettext generated Makefile.in.in
From: |
Bruno Haible |
Subject: |
Re: Problem in gettext generated Makefile.in.in |
Date: |
Tue, 4 Sep 2001 23:17:10 +0200 (CEST) |
peter karlsson writes:
> The po/Makefile.in.in installed by gettext contains the line
>
> localedir = $(datadir)/locale
>
> but I think it should be
>
> localedir = @localedir@
>
> instead, so that datadir can be moved independently from the localedir.
The locale dependent data is part of the data altogether. Why do you
want to move them separately?
For @localedir@ to work, you would also need autoconf support, so that
1. @localedir@ gets substituted,
2. configure accepts a --localedir option.
This is not the case now.
> I can't get the messages to be found if I move the datadir (for example to
> /usr/share/programname instead of /usr/share). In this case I would like to
> be able to have localedir fixed to /usr/share/locale even though I moved the
> datadir.
The way to implement that is not to change @datadir@ but to modify the
program's Makefiles so that it uses @datadir@/$(PACKAGE) instead of
@datadir@ in certain places. The GNU standards even recommend
@datadir@/$(PACKAGE)-$(VERSION), not simply @datadir@/$(PACKAGE).
Bruno
- Re: Problem in gettext generated Makefile.in.in,
Bruno Haible <=