diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-04-12 13:21:10 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-04-12 13:21:10 +0200 |
commit | f741e914ebc1e029d84f74da846a1a662ad69312 (patch) | |
tree | 8e39b1aa83c67aa969af0270f775057504e2c9ef /gnu | |
parent | 0e1a1ece9e93487b81cfa9b7ceeb82ab9f3cf556 (diff) | |
download | patches-f741e914ebc1e029d84f74da846a1a662ad69312.tar patches-f741e914ebc1e029d84f74da846a1a662ad69312.tar.gz |
gnu: emacs-org: Install documentation.
* gnu/packages/emacs-xyz.scm (emacs-org)[arguments]: Add a phase to install
info file and refcard.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2d23c72d73..541a526ad0 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 |