diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-13 10:00:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-13 18:04:58 +0100 |
commit | 7ed9c3124d9fb07e0d389250955cada1e54b03b3 (patch) | |
tree | d7889f554996a19acda9b0342a795b734042b291 /gnu/packages/guile.scm | |
parent | 3f1ed953e8a596dc3a4924758a931b8a774bde5f (diff) | |
download | patches-7ed9c3124d9fb07e0d389250955cada1e54b03b3.tar patches-7ed9c3124d9fb07e0d389250955cada1e54b03b3.tar.gz |
gnu: guile-bytestructures: Install 'README.md'.
* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Add
'install-doc' phase.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r-- | gnu/packages/guile.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index bcb8ff1a56..4b88c41084 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -595,8 +595,16 @@ Guile's foreign function interface.") "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) |