[Top][All Lists]

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

Re: $prefix/info -> $prefix/share/info

From: Eli Zaretskii
Subject: Re: $prefix/info -> $prefix/share/info
Date: Mon, 18 Dec 2006 22:21:54 +0200

> From: Bruno Haible <address@hidden>
> Date: Mon, 18 Dec 2006 14:47:56 +0100
> For several years already, the GNU coding standards and the Linux
> Filesystem Hierarchy Standard specify that 'info' files should be installed
> in $prefix/share/info rather than in $prefix/info. The rationale is and was
> that 'info' files are not platform dependent.
> Since autoconf-2.60 was released 6 months ago, it is easy to actually
> implement this.
> But Emacs-22.0.90 still installs into $prefix/info.
> To follow the above cited standards, the following recipe can be used:
> 1) Regenerate the 'configure' file with autoconf-2.60 or -2.61. An
> invocation of 'autoconf' is all that's needed.
> 2) Apply this patch. I've verified that with this patch, Emacs installs its
> manuals into $prefix/share/info and that the info mode finds them there.
> 2006-12-17  Bruno Haible  <address@hidden>
>       * INSTALL: Mention /usr/local/share/info instead of /usr/local/info.
>       * etc/emacs.1: Likewise.
>       * src/epaths.in (PATH_INFO): Likewise.
>       * nt/paths.h (PATH_INFO): Likewise.
>       * lisp/paths.el (Info-default-directory-list): Put "share/" before "",
>       before new info files will be installed in share/info.
>       * lisp/info.el (Info-default-dirs): Look in $prefix/share/info instead
>       of $prefix/info.
>       * lisp/w32-fns.el (w32-init-info): Likewise.

Thanks, but the last change (to w32-fns.el) is not a good idea, since
invocation-directory there is not /usr/local/bin.  So GNU standards
are not applicable to the w32 case, and the patch to that file just
wastes disk space (by creating an unneeded directory) and lengthens
file names without any visible benefits.

I have no opinion about the rest of the change.

reply via email to

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