guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 50f54193150d4622b68bbe5eddb0f6b300270b39
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Jul 9 16:41:26 2025 +0200
gnu: emacs-tempel: Add info doc.
* gnu/packages/emacs-xyz.scm (emacs-tempel): Build documentation info
file.
[arguments]<#:phases>: Add makeinfo.
[native-inputs]: Add texinfo.
Change-Id: I2135918085ea45888717fae859c892fdc9b14151
Signed-off-by: Hilton Chain <[email protected]>
---
gnu/packages/emacs-xyz.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 66c6374d55..63bf0d18a8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20949,8 +20949,18 @@ been adapted to also work with mu4e.")
"104wifdqglk6hxs6z3gr6rmxf3hdqsl3y9bvcp3wwm10yqkpnmkx"))))
(build-system emacs-build-system)
(arguments
- ;; no tests
- `(#:tests? #f))
+ (list
+ #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'makeinfo
+ (lambda _
+ (invoke "emacs"
+ "--batch"
+ "--eval=(require 'ox-texinfo)"
+ "--eval=(find-file \"README.org\")"
+ "--eval=(org-texinfo-export-to-info)"))))))
+ (native-inputs (list texinfo))
(propagated-inputs
(list emacs-compat))
(home-page "https://github.com/minad/tempel")