guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-org: Install documentation.


From: guix-commits
Subject: branch master updated: gnu: emacs-org: Install documentation.
Date: Sun, 12 Apr 2020 07:21:47 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f741e91  gnu: emacs-org: Install documentation.
f741e91 is described below

commit f741e914ebc1e029d84f74da846a1a662ad69312
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Sun Apr 12 13:21:10 2020 +0200

    gnu: emacs-org: Install documentation.
    
    * gnu/packages/emacs-xyz.scm (emacs-org)[arguments]: Add a phase to install
    info file and refcard.
---
 gnu/packages/emacs-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d23c72..541a526 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8488,6 +8488,17 @@ passive voice.")
        (sha256
         (base32 "0jwpgfzjvf1hd3mx582pw86hysdryaqzp69hk6azi9kmq4bzk87d"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-documentation
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((share (string-append (assoc-ref outputs "out") "/share"))
+                    (info-dir (string-append share "/info"))
+                    (doc-dir (string-append share "/doc/" ,name "-" ,version)))
+               (install-file "org" info-dir)
+               (install-file "orgcard.pdf" doc-dir))
+             #t)))))
     (home-page "https://orgmode.org/";)
     (synopsis "Outline-based notes management and organizer")
     (description "Org is an Emacs mode for keeping notes, maintaining TODO



reply via email to

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