[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: emacs-vertico: Generate info from README.org.
From: |
guix-commits |
Subject: |
06/07: gnu: emacs-vertico: Generate info from README.org. |
Date: |
Mon, 27 Feb 2023 21:42:21 -0500 (EST) |
abcdw pushed a commit to branch master
in repository guix.
commit 2369e8b0ac623aec5508e6eec7246c642787c0d8
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Tue Feb 28 06:33:42 2023 +0400
gnu: emacs-vertico: Generate info from README.org.
* gnu/packages/emacs-xyz.scm (emacs-vertico)[arguments]: Migrate to gexps,
generate info from README.org.
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f5a907324c..c585dbe6e5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34696,16 +34696,26 @@ and preferred services can easily be configured.")
(base32 "0djc1im6caa67aq0bi8d607ycb1lq4lsirfqsx8kqbfl46852f60"))))
(build-system emacs-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Move the extensions source files to the top level, which is
- ;; included in the EMACSLOADPATH.
- (add-after 'unpack 'move-source-files
- (lambda _
- (let ((el-files (find-files "./extensions" ".*\\.el$")))
- (for-each (lambda (f)
- (rename-file f (basename f)))
- el-files)))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Move the extensions source files to the top level, which is
+ ;; included in the EMACSLOADPATH.
+ (add-after 'unpack 'move-source-files
+ (lambda _
+ (let ((el-files (find-files "./extensions" ".*\\.el$")))
+ (for-each (lambda (f)
+ (rename-file f (basename f)))
+ el-files))))
+ (add-after 'install 'makeinfo
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "emacs"
+ "--batch"
+ "--eval=(require 'ox-texinfo)"
+ "--eval=(find-file \"README.org\")"
+ "--eval=(org-texinfo-export-to-info)")
+ (install-file "vertico.info"
+ (string-append #$output "/share/info")))))))
(native-inputs
(list texinfo))
(propagated-inputs
- branch master updated (ff5fbcc19b -> a79950af15), guix-commits, 2023/02/27
- 02/07: gnu: emacs-cape: Generate info from README.org., guix-commits, 2023/02/27
- 03/07: gnu: emacs-embark: Generate info from README.org., guix-commits, 2023/02/27
- 01/07: gnu: emacs-corfu: Generate info from README.org., guix-commits, 2023/02/27
- 04/07: gnu: emacs-consult: Generate info from README.org., guix-commits, 2023/02/27
- 05/07: gnu: emacs-marginalia: Generate info from README.org., guix-commits, 2023/02/27
- 06/07: gnu: emacs-vertico: Generate info from README.org.,
guix-commits <=
- 07/07: gnu: emacs-eat: Update to 0.6., guix-commits, 2023/02/27