mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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.
This commit is contained in:
parent
699936485a
commit
62e8ba15d7
1 changed files with 14 additions and 0 deletions
|
@ -10466,6 +10466,20 @@ (define-public emacs-embark
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue