summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-28 06:31:05 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-28 06:35:16 +0400
commit62e8ba15d755bbba0ac37b0d17103618e5aa2e2b (patch)
tree1b3b3feda8dbfb3f9f2ae2844d9146e3d1bcf48e /gnu/packages
parent699936485ab2fd495cc58f7fcce69d8f49bc9931 (diff)
gnu: emacs-embark: Generate info from README.org.
* gnu/packages/emacs-xyz.scm (emacs-embark)[native-inputs]: Add texinfo. [arguments]: Generate info from README.org.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8d259914dd..6212d3958f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10466,6 +10466,20 @@ them easier to distinguish from other, less important buffers.")
(base32 "14qp46wa1xgmb09jyk9cadj0b3m7bwspqnprk3zbfc6gw1r53235"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (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 "embark.info"
+ (string-append #$output "/share/info")))))))
+ (native-inputs (list texinfo))
(propagated-inputs
(list emacs-avy emacs-consult))
(home-page "https://github.com/oantolin/embark")