mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: guile-bytestructures: Install 'README.md'.
* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Add 'install-doc' phase.
This commit is contained in:
parent
3f1ed953e8
commit
7ed9c3124d
1 changed files with 10 additions and 2 deletions
|
@ -595,8 +595,16 @@ (define-public guile-bytestructures
|
||||||
"0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"))))
|
"0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings
|
||||||
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'install 'install-doc
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(package ,(package-full-name this-package "-"))
|
||||||
|
(doc (string-append out "/share/doc/" package)))
|
||||||
|
(install-file "README.md" doc)
|
||||||
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
("automake" ,automake)
|
("automake" ,automake)
|
||||||
|
|
Loading…
Reference in a new issue