From 62e8ba15d755bbba0ac37b0d17103618e5aa2e2b Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 28 Feb 2023 06:31:05 +0400 Subject: 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. --- gnu/packages/emacs-xyz.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnu/packages') 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") -- cgit 1.4.1