openssl: Move all man pages to separate output, not only man3.
There does not seem to be any reason to only move man3 pages. So, move all man pages to a separate output for documentation. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Move all man pages, not only man3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
0196b866d3
commit
3e42c2bfbb
1 changed files with 6 additions and 6 deletions
|
@ -413,16 +413,16 @@ required structures.")
|
||||||
(find-files lib "\\.a$")))))
|
(find-files lib "\\.a$")))))
|
||||||
(add-after 'install 'move-extra-documentation
|
(add-after 'install 'move-extra-documentation
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Move man3 pages and full HTML documentation to "doc".
|
;; Move man pages and full HTML documentation to "doc".
|
||||||
(let* ((out #$output)
|
(let* ((out #$output)
|
||||||
(man3 (string-append out "/share/man/man3"))
|
(man (string-append out "/share/man"))
|
||||||
(html (string-append out "/share/doc/openssl"))
|
(html (string-append out "/share/doc/openssl"))
|
||||||
(doc #$output:doc)
|
(doc #$output:doc)
|
||||||
(man-target (string-append doc "/share/man/man3"))
|
(man-target (string-append doc "/share/man"))
|
||||||
(html-target (string-append doc "/share/doc/openssl")))
|
(html-target (string-append doc "/share/doc/openssl")))
|
||||||
(mkdir-p (dirname man3-target))
|
(mkdir-p (dirname man-target))
|
||||||
(mkdir-p (dirname html-target))
|
(mkdir-p (dirname html-target))
|
||||||
(rename-file man3 man-target)
|
(rename-file man man-target)
|
||||||
(rename-file html html-target))))
|
(rename-file html html-target))))
|
||||||
(add-after
|
(add-after
|
||||||
'install 'remove-miscellany
|
'install 'remove-miscellany
|
||||||
|
|
Reference in a new issue