summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMichael Rohleder <mike@rohleder.de>2020-10-26 05:03:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-10-27 22:14:07 +0100
commiteccb8a99329cfe809d06ad76393948f5e22aafa4 (patch)
tree9ab9f126d21ae3f829810cdc68d8775a31799b43 /gnu
parent1e76f0b0df1e8a0cb0cb942595bb9642bbb9f32b (diff)
downloadguix-eccb8a99329cfe809d06ad76393948f5e22aafa4.tar.gz
gnu: emacs-with-editor: Add info page.
* gnu/packages/emacs-xyz.scm (emacs-with-editor): Add info page.
[arguments]: Add phase make-info.
[native-inputs]: Add texinfo.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7dba5c50b8..a16eae9d17 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -401,6 +401,15 @@ configuration files, such as .gitattributes, .gitignore, and .git/config.")
          (sha256
           (base32 "01ysb9pnscpmingay6njdywkqgj4hn5l5d9igsg3x7p7061jwwix"))))
       (build-system emacs-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-before 'install 'make-info
+             (lambda _
+               (invoke "makeinfo" "--no-split"
+                       "-o" "with-editor.info" "with-editor.texi"))))))
+      (native-inputs
+       `(("texinfo" ,texinfo)))
       (propagated-inputs
        `(("emacs-dash" ,emacs-dash)))
       (home-page "https://github.com/magit/with-editor")