me
/
guix
Archived
1
0
Fork 0

gnu: emacs-cape: Generate info from README.org.

* gnu/packages/emacs-xyz.scm (emacs-cape)[native-inputs]: Add texinfo.
[arguments]: Generate info from README.org.
master
Andrew Tropin 2023-02-28 06:30:30 +04:00
parent 60e03bb5e7
commit 699936485a
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 14 additions and 0 deletions

View File

@ -3867,6 +3867,20 @@ be regarded as @code{emacs-company-quickhelp} for @code{emacs-corfu}.")
(sha256
(base32 "0nvmqfp9rv2mrisyvwfr285yww22c6wb5by3s25c83ay2ivpi8ya"))))
(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 "cape.info"
(string-append #$output "/share/info")))))))
(native-inputs (list texinfo))
(propagated-inputs
(list emacs-compat))
(home-page "https://github.com/minad/cape")