unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44086] [PATCH] gnu: emacs-evil: Add info page.
@ 2020-10-19 22:05 Michael Rohleder
  2020-10-20  6:42 ` bug#44086: " Oleg Pykhalov
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-10-19 22:05 UTC (permalink / raw)
  To: 44086; +Cc: Michael Rohleder

* gnu/packages/emacs-xyz.scm (emacs-evil): Add info page.
[arguments]: Add phase make-info.
[native-inputs]: Add texinfo.
---
 gnu/packages/emacs-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5acb8ce6ec..41f76132a6 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 _
+             (chdir "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
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44086: [PATCH] gnu: emacs-evil: Add info page.
  2020-10-19 22:05 [bug#44086] [PATCH] gnu: emacs-evil: Add info page Michael Rohleder
@ 2020-10-20  6:42 ` Oleg Pykhalov
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Pykhalov @ 2020-10-20  6:42 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 44086-done


[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]

Hi,

Michael Rohleder <mike@rohleder.de> writes:

> * gnu/packages/emacs-xyz.scm (emacs-evil): Add info page.
> [arguments]: Add phase make-info.
> [native-inputs]: Add texinfo.
> ---
>  gnu/packages/emacs-xyz.scm | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
[…]

Pushed to master with "with-directory-excursion" instead of "chdir":

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: with-directory-excursion --]
[-- Type: text/x-patch, Size: 768 bytes --]

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41f76132a6..aab3f26e8b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9395,9 +9395,9 @@ news items, openrc and runscripts.")
              #t))
          (add-before 'install 'make-info
            (lambda _
-             (chdir "doc/build/texinfo")
-             (invoke "makeinfo" "--no-split"
-                     "-o" "evil.info" "evil.texi"))))))
+             (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")

[-- Attachment #1.3: Type: text/plain, Size: 7 bytes --]


Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-20  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 22:05 [bug#44086] [PATCH] gnu: emacs-evil: Add info page Michael Rohleder
2020-10-20  6:42 ` bug#44086: " Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).