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: Alfred M. Szmidt
Subject: Re: libexecdir/datadir used incorrectly
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."

   `datadir'
       The directory for installing read-only architecture independent
       data files.  This should normally be `/usr/local/share', but write
       it as `$(prefix)/share'.  (If you are using Autoconf, write it as
       address@hidden@'.)

   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.


But looking at a even newer version (Jan 1, 2005) of the GCS, the
wording of datadir has changed to allow for subdirectories since
datarootdir has replaced what datadir was used for when datarootdir
didn't exist.  If gawk was using datarootdir then I would agree that
datadir allows for subdirectories.

Thanks.




reply via email to

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