summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Rohleder <mike@rohleder.de>2020-10-20 00:05:50 +0200
committerOleg Pykhalov <go.wigust@gmail.com>2020-10-20 09:41:50 +0300
commitbc4427172939a8303fe1a0b5d0d42f6c06ab0fe4 (patch)
tree441db9d4ac2284403888194aa73782775694db2d
parent93c251818dcd2bf5f60f42e595504293ee83371a (diff)
downloadguix-bc4427172939a8303fe1a0b5d0d42f6c06ab0fe4.tar.gz
gnu: emacs-evil: Add info page.
* gnu/packages/emacs-xyz.scm (emacs-evil): Add info page.
[arguments]: Add phase make-info.
[native-inputs]: Add texinfo.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5acb8ce6ec..aab3f26e8b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9392,8 +9392,14 @@ news items, openrc and runscripts.")
            (lambda _
              (substitute* "evil-test-helpers.el"
                (("\\(undo-tree-mode 1\\)") ""))
-             #t)))))
+             #t))
+         (add-before 'install 'make-info
+           (lambda _
+             (with-directory-excursion "doc/build/texinfo"
+                 (invoke "makeinfo" "--no-split"
+                         "-o" "evil.info" "evil.texi")))))))
     (build-system emacs-build-system)
+    (native-inputs `(("texinfo" ,texinfo)))
     (home-page "https://github.com/emacs-evil/evil")
     (synopsis "Extensible Vi layer for Emacs")
     (description