aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-22 07:54:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-22 07:56:55 +0100
commit5f66a0a78b4a5c05d7bb82523100d210b893cf9b (patch)
tree3a27c869d365053172f7e4e18398b7066f85bcbd /gnu
parenta837423412fd59e56fd0d7f28cdbfd524d70d586 (diff)
downloadguix-5f66a0a78b4a5c05d7bb82523100d210b893cf9b.tar
guix-5f66a0a78b4a5c05d7bb82523100d210b893cf9b.tar.gz
gnu: emacs-ivy: Install documentation.
* gnu/packages/emacs.scm (emacs-ivy)[arguments]: Add phase "install-doc". [native-inputs]: Add texinfo.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index afe877a024..b497eb4259 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3249,8 +3249,21 @@ automatically.")
(base32
"14vnigqb5c3yi4q9ysw1fiwdqyqwyklqpb9wnjf81chm7s2mshnr"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (info (string-append out "/share/info")))
+ (with-directory-excursion "doc"
+ (unless (zero? (system* "makeinfo" "ivy.texi"))
+ (error "makeinfo failed"))
+ (install-file "ivy.info" info))))))))
(propagated-inputs
`(("emacs-hydra" ,emacs-hydra)))
+ (native-inputs
+ `(("texinfo" ,texinfo)))
(home-page "http://oremacs.com/swiper/")
(synopsis "Incremental vertical completion for Emacs")
(description