gnu: s6: Install documentation.
* gnu/packages/skarnet.scm (s6)[arguments]: Add 'install-doc' phase.master
parent
87858bc526
commit
47ea2ad196
|
@ -116,7 +116,7 @@ complexity.")))
|
||||||
(inputs `(("skalibs" ,skalibs)
|
(inputs `(("skalibs" ,skalibs)
|
||||||
("execline" ,execline)))
|
("execline" ,execline)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list
|
`(#:configure-flags (list
|
||||||
(string-append "--with-lib="
|
(string-append "--with-lib="
|
||||||
(assoc-ref %build-inputs "skalibs")
|
(assoc-ref %build-inputs "skalibs")
|
||||||
"/lib/skalibs")
|
"/lib/skalibs")
|
||||||
|
@ -126,7 +126,15 @@ complexity.")))
|
||||||
(string-append "--with-sysdeps="
|
(string-append "--with-sysdeps="
|
||||||
(assoc-ref %build-inputs "skalibs")
|
(assoc-ref %build-inputs "skalibs")
|
||||||
"/lib/skalibs/sysdeps"))
|
"/lib/skalibs/sysdeps"))
|
||||||
#:tests? #f)) ; no tests exist
|
#:tests? #f ; no tests exist
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'install-doc
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(doc (string-append out "/share/doc/s6-" ,version)))
|
||||||
|
(copy-recursively "doc" doc)
|
||||||
|
#t))))))
|
||||||
(home-page "https://skarnet.org/software/s6")
|
(home-page "https://skarnet.org/software/s6")
|
||||||
(license isc)
|
(license isc)
|
||||||
(synopsis "Small suite of programs for process supervision")
|
(synopsis "Small suite of programs for process supervision")
|
||||||
|
|
Reference in New Issue