gnu: emacs-ivy: Install documentation.

* gnu/packages/emacs.scm (emacs-ivy)[arguments]: Add phase "install-doc".
[native-inputs]: Add texinfo.
This commit is contained in:
Ricardo Wurmus 2017-12-22 07:54:35 +01:00
parent a837423412
commit 5f66a0a78b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3249,8 +3249,21 @@ (define-public emacs-ivy
(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