unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 25781@debbugs.gnu.org
Subject: bug#25781: Install misc documentation to /usr/share/doc/emacs-##
Date: Sat, 18 Feb 2017 10:22:17 +0200	[thread overview]
Message-ID: <83lgt3rjra.fsf@gnu.org> (raw)
In-Reply-To: <xamvdk89lj.fsf@fencepost.gnu.org> (message from Glenn Morris on Fri, 17 Feb 2017 22:24:24 -0500)

> From: Glenn Morris <rgm@gnu.org>
> 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.





      reply	other threads:[~2017-02-18  8:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-18  3:24 bug#25781: Install misc documentation to /usr/share/doc/emacs-## Glenn Morris
2017-02-18  8:22 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lgt3rjra.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25781@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).