Subject: [bug#65610] [PATCH v2] gnu: emacs-denote: Add Info manual.

From: [email-masked]
Date: Wed, 30 Aug 2023 14:35:59 -0400

From: Kierin Bell <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-denote): Add Info manual.
---
Didn't see this one pushed yet either.  Updated as with bug#65611.
Sorry for the mess...

 gnu/packages/emacs-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3eaf215134..af9f62b6cd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -132,6 +132,7 @@
 ;;; Copyright © 2023 Fabio Natali <[email-masked]>
 ;;; Copyright © 2023 Arnaud Lechevallier <[email-masked]>
 ;;; Copyright © 2023 Ahmad Draidi <[email-masked]>
+;;; Copyright © 2023 Kierin Bell <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -16586,6 +16587,17 @@ (define-public emacs-denote
         (base32 "0nwqghh73lbw6v6yhkalcwwqjs1fyhxqi53d9y2dcfhfq58g1rb9"))))
     (build-system emacs-build-system)
     (native-inputs (list texinfo))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (emacs-batch-edit-file "README.org"
+                "(progn (require 'ox-texinfo) (org-texinfo-export-to-info))")
+              (install-file "denote.info"
+                            (string-append #$output
+                                           "/share/info")))))))
     (home-page "https://protesilaos.com/emacs/denote/")
     (synopsis "Simple notes for Emacs")
     (description

base-commit: d72c3fcf2d72e97715389762c09bf4c4fe81dc0e
-- 
2.41.0