all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Cc: Federico Beffa <beffa@fbengineering.ch>
Subject: [PATCH] emacs-build-system: Fix a file name of info directory.
Date: Thu, 03 Sep 2015 17:02:15 +0300	[thread overview]
Message-ID: <87613r7g9k.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Currently emacs-build-system moves info files to "share/info/<package>"
directories (as can be seen with ‘emacs-flycheck’ package, for example).
So "info" command (in console or emacs) can't find such manuals.  I
think it should be changed.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-emacs-build-system-Fix-a-file-name-of-info-directory.patch --]
[-- Type: text/x-diff, Size: 1138 bytes --]

From 72a10f97a6ffd8a70fcea079a0be6a365a45b1b9 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Thu, 3 Sep 2015 10:35:19 +0300
Subject: [PATCH] emacs-build-system: Fix a file name of info directory.

* guix/build/emacs-build-system.scm (move-doc): Adjust to use
  "/share/info" instead of its sub-directory.
---
 guix/build/emacs-build-system.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
index f18db0a..c01b24f 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -83,8 +83,7 @@ store in '.el' files."
   (let* ((out (assoc-ref outputs "out"))
          (elpa-name-ver (store-directory->elpa-name-version out))
          (el-dir (string-append out %install-suffix "/" elpa-name-ver))
-         (name-ver (store-directory->name-version out))
-         (info-dir (string-append out "/share/info/" name-ver))
+         (info-dir (string-append out "/share/info"))
          (info-files (find-files el-dir "\\.info$")))
     (unless (null? info-files)
       (mkdir-p info-dir)
-- 
2.5.1


             reply	other threads:[~2015-09-03 14:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 14:02 Alex Kost [this message]
2015-09-03 14:09 ` [PATCH] emacs-build-system: Fix a file name of info directory Thompson, David
2015-09-04 20:02   ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=87613r7g9k.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=beffa@fbengineering.ch \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.