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

Re: Bug#234991: elinks: missing gettext support



Hello!

On Thu, Feb 26, 2004 at 11:34:26PM +0100, Peter Samek wrote:

> For some time I wondered why setting Setup -> Language -> Slovak or
> setting LANG to sk_SK produced no effect in the new version (0.9..).
> Finally I took a look at the package content and found out that the
> locale files are missing.
> 
> It could help to declare a dependency on gettext.
> 
> But the real problem is in debian/rules line 46:
> 
>   $(MAKE) install prefix=`pwd`/debian/elinks/usr
> 
> which should be:
> 
>   $(MAKE) install DESTDIR=`pwd`/debian/elinks
> 
> otherwise locale files are installed in /usr/share (or attempted to).

It's funny that you say that because just yesterday I tried to debianize
another package (for myself) and realized that the "prefix" just did what
you said: partially worked. I cannot tell whether it's an autoconf/automake
bug or not (but I suspect it is, apart from not having the time to actually
track it down). I had to change it to DESTDIR.

I'll change in elinks, too. I don't know whether that's a good approach or
not (deb-make creates the 'prefix' form, and it seemed to be right so far).
All automagically debianised package seem to use prefix form, too...

Maybe someone can judge better than me; cc'ing it to debian mailing list.

Peter



Reply to: