mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: cedille: Install the info pages.
* gnu/packages/cedille.scm (cedille)[arguments]: Rename phase 'patch-cedille-path-el' to 'patch-cedille-paths' and add substitution for the info page location. In the 'copy-cedille-mode' phase, install the info page. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
a8f1b52017
commit
be41d7d91d
1 changed files with 8 additions and 2 deletions
|
@ -51,15 +51,19 @@ (define-public cedille
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-cedille-path-el
|
(add-after 'unpack 'patch-cedille-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(substitute* "cedille-mode.el"
|
(substitute* "cedille-mode.el"
|
||||||
(("/usr/share/emacs/site-lisp/cedille-mode")
|
(("/usr/share/emacs/site-lisp/cedille-mode")
|
||||||
(string-append
|
(string-append
|
||||||
out "/share/emacs/site-lisp/cedille")))
|
out "/share/emacs/site-lisp/cedille")))
|
||||||
|
(substitute* "cedille-mode/cedille-mode-info.el"
|
||||||
|
(("\\(concat cedille-path-el \"cedille-info-main.info\"\\)")
|
||||||
|
(string-append
|
||||||
|
"\"" out "/share/info/cedille-info-main.info.gz\"")))
|
||||||
#t)))
|
#t)))
|
||||||
(add-after 'unpack 'copy-cedille-mode
|
(add-after 'patch-cedille-paths 'copy-cedille-mode
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(lisp
|
(lisp
|
||||||
|
@ -107,6 +111,8 @@ (define-public cedille
|
||||||
(install-file "cedille" (string-append out "/bin"))
|
(install-file "cedille" (string-append out "/bin"))
|
||||||
(install-file "core/cedille-core"
|
(install-file "core/cedille-core"
|
||||||
(string-append out "/bin"))
|
(string-append out "/bin"))
|
||||||
|
(install-file "docs/info/cedille-info-main.info"
|
||||||
|
(string-append out "/share/info"))
|
||||||
#t))))))
|
#t))))))
|
||||||
(home-page "https://cedille.github.io/")
|
(home-page "https://cedille.github.io/")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
|
Loading…
Reference in a new issue