From bc4427172939a8303fe1a0b5d0d42f6c06ab0fe4 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 20 Oct 2020 00:05:50 +0200 Subject: 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 --- gnu/packages/emacs-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3