GNU bug report logs - #25781
Install misc documentation to /usr/share/doc/emacs-##

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 18 Feb 2017 03:25:02 UTC

Severity: wishlist

Found in version 25.1

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: 25781 <at> debbugs.gnu.org
Subject: bug#25781: Install misc documentation to /usr/share/doc/emacs-##
Date: Fri, 17 Feb 2017 22:24:24 -0500
Package: emacs
Version: 25.1
Severity: wishlist

The (file hierarchy) standard place for software to install
miscellaneous (non-Info, non-man) documentation, examples files, etc on
Unix systems is /usr/share/doc/package-version. In autoconf, this is the
standard variable docdir, eg /usr/share/doc/emacs-25.1 .

On both Red Hat and Debian systems, I have several thousand directories
in /usr/share/doc, but Emacs does not install anything there. IMO, much
of the stuff that Emacs installs in /usr/share/emacs/25.1/etc belongs in
/usr/share/doc/emacs-25.1. The exceptions would be any actual data files
that Emacs needs at runtime (eg ps-prin0.ps).

Motivation:
It's good to follow standards. Maybe Emacs predates the standard in
this case, but it seems past time to adapt. It will be a bit confusing
at first for those of us used to the old locations, but it will improve
discoverability for new users and sysadmins.


In practical terms, this could be done by a special install rule that
puts things from the existing etc/ source directory in the right place,
or a new directory (sadly doc/misc is already taken) could be added to
the source, and files moved there from etc/.




This bug report was last modified 8 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.