gnu: guile-bytestructures: Install 'README.md'.

* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Add
'install-doc' phase.
This commit is contained in:
Ludovic Courtès 2020-01-13 10:00:18 +01:00
parent 3f1ed953e8
commit 7ed9c3124d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -595,8 +595,16 @@ (define-public guile-bytestructures
"0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
`(#:make-flags '("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
`(("autoconf" ,autoconf)
("automake" ,automake)