From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25781: Install misc documentation to /usr/share/doc/emacs-## Date: Sat, 18 Feb 2017 10:22:17 +0200 Message-ID: <83lgt3rjra.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487406134 26531 195.159.176.226 (18 Feb 2017 08:22:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2017 08:22:14 +0000 (UTC) Cc: 25781@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 18 09:22:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf0HP-0006H4-Ek for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 09:22:07 +0100 Original-Received: from localhost ([::1]:57556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf0HV-0000Oh-2W for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 03:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf0HO-0000IW-Fu for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 03:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cf0HK-0000Yh-Hq for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 03:22:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cf0HK-0000Yc-EH for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 03:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cf0HK-0002Ep-6O for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 03:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2017 08:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25781-submit@debbugs.gnu.org id=B25781.14874061198594 (code B ref 25781); Sat, 18 Feb 2017 08:22:02 +0000 Original-Received: (at 25781) by debbugs.gnu.org; 18 Feb 2017 08:21:59 +0000 Original-Received: from localhost ([127.0.0.1]:44118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf0HG-0002EY-Oe for submit@debbugs.gnu.org; Sat, 18 Feb 2017 03:21:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf0HG-0002EM-1G for 25781@debbugs.gnu.org; Sat, 18 Feb 2017 03:21:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cf0H6-0000Te-Vp for 25781@debbugs.gnu.org; Sat, 18 Feb 2017 03:21:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf0H6-0000TU-SO for 25781@debbugs.gnu.org; Sat, 18 Feb 2017 03:21:48 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4550 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cf0H4-0001Zw-Ro; Sat, 18 Feb 2017 03:21:47 -0500 In-reply-to: (message from Glenn Morris on Fri, 17 Feb 2017 22:24:24 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129480 Archived-At: > From: Glenn Morris > Date: Fri, 17 Feb 2017 22:24:24 -0500 > > 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). I agree. Can you propose a list of files that should be installed in docdir? If some of these files are accessed by Emacs features (e.g., NEWS), we will also have to change the corresponding code to access them both in non-installed and installed Emacs. (This is something most, if not all, projects I built don't get right, btw.) > 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/. I'd prefer not to move files in the repository, as doing that runs afoul of important Git features. Thanks.