gnu: python-robotframework-sshlibrary: Normalize doc location.

* gnu/packages/python-xyz.scm (python-robotframework-sshlibrary):
[phases]{build-and-install-doc}: Install HTML documentation to the share/doc
subdirectory of the 'doc' output.
This commit is contained in:
Maxim Cournoyer 2022-03-09 15:16:22 -05:00
parent ebd2093b32
commit 48e049b38d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4872,9 +4872,9 @@ trace directly to the terminal to ease debugging.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'build-and-install-doc (add-before 'build 'build-and-install-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((doc-output (assoc-ref outputs "doc")) (let ((doc (string-append
(doc (string-append doc-output "/share/" (assoc-ref outputs "doc")
,name "-" ,version "/"))) "/share/doc/robotframework-sshlibrary")))
(invoke "chmod" "-R" "+w" "docs") (invoke "chmod" "-R" "+w" "docs")
(invoke "invoke" "kw-docs" "project-docs") (invoke "invoke" "kw-docs" "project-docs")
(mkdir-p doc) (mkdir-p doc)