bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: libexecdir/datadir used incorrectly


From: Eli Zaretskii
Subject: Re: libexecdir/datadir used incorrectly
Date: Sun, 06 Feb 2005 21:23:57 +0200

> From: "Alfred M. Szmidt" <address@hidden>
> Cc: address@hidden
> Date: Sun, 06 Feb 2005 15:20:40 +0100
> 
>    > `datadir'
>    > ...
>    >      The default definition of `datadir' should be `$(datarootdir)'.
>    >      (If you are using Autoconf, write it as address@hidden@'.)
> 
>    What version of standards.texi says that?
> 
> "The GNU coding standards, last updated April 29, 2003."

Since I wrote that, I've learned that the version of standards.texi on
ftp.gnu.org is way out of date.  Sorry.

>    In any case, standards.texi doesn't preclude use of subdirectories in
>    `datadir'.  So I fail to see how Gawk is incorrect here.
> 
> I see the "write it as address@hidden@'" bit as a quite clear indicator to
> not use subdirectories.

I think it can be read both ways.  So perhaps ask whoever is
responsible for the GNU coding standards to make the text more clear
in the next version.

I think the distinction boils down to this: if I say

        make datadir=FOO

should the data files go into FOO or into FOO/awk?  With your
suggestion, they go to the latter; with the original Gawk's configury
they go to the former.  I'm not sure which one is correct: they both
seem to have their merits.




reply via email to

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