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 @@ (define-public python-robotframework-sshlibrary
(modify-phases %standard-phases
(add-before 'build 'build-and-install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((doc-output (assoc-ref outputs "doc"))
(doc (string-append doc-output "/share/"
,name "-" ,version "/")))
(let ((doc (string-append
(assoc-ref outputs "doc")
"/share/doc/robotframework-sshlibrary")))
(invoke "chmod" "-R" "+w" "docs")
(invoke "invoke" "kw-docs" "project-docs")
(mkdir-p doc)