From 5f66a0a78b4a5c05d7bb82523100d210b893cf9b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 22 Dec 2017 07:54:35 +0100 Subject: gnu: emacs-ivy: Install documentation. * gnu/packages/emacs.scm (emacs-ivy)[arguments]: Add phase "install-doc". [native-inputs]: Add texinfo. --- gnu/packages/emacs.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu') 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 -- cgit v1.2.3