summary refs log tree commit diff
path: root/gnu/packages/tls.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-07-14 13:13:01 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-07-14 15:57:40 +0200
commit3e42c2bfbb3d0fc60f2f3473f3c8669c749b94b3 (patch)
tree2854bcd218d5f4f8990ff1f03d9ab71f46ce3da0 /gnu/packages/tls.scm
parent0196b866d3fbc9155864a337381f6a55a9a65234 (diff)
downloadguix-3e42c2bfbb3d0fc60f2f3473f3c8669c749b94b3.tar.gz
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>
Diffstat (limited to 'gnu/packages/tls.scm')
-rw-r--r--gnu/packages/tls.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 92d7950747..b58cb9459d 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -413,16 +413,16 @@ required structures.")
                          (find-files lib "\\.a$")))))
          (add-after 'install 'move-extra-documentation
            (lambda _
-             ;; Move man3 pages and full HTML documentation to "doc".
+             ;; Move man pages and full HTML documentation to "doc".
              (let* ((out    #$output)
-                    (man3   (string-append out "/share/man/man3"))
-                    (html (string-append out "/share/doc/openssl"))
+                    (man    (string-append out "/share/man"))
+                    (html   (string-append out "/share/doc/openssl"))
                     (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")))
-               (mkdir-p (dirname man3-target))
+               (mkdir-p (dirname man-target))
                (mkdir-p (dirname html-target))
-               (rename-file man3 man-target)
+               (rename-file man man-target)
                (rename-file html html-target))))
          (add-after
              'install 'remove-miscellany