From a909b5765883cfecd6913ac24b44b1e3e22eab76 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 2 May 2016 15:43:50 +0200 Subject: gnu: openssl: Add "doc" output. * gnu/packages/tls.scm (openssl)[outputs]: Add "doc". [arguments]: Add 'move-man3-pages' phase. --- gnu/packages/tls.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gnu/packages/tls.scm') diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 08c869bc30..f1e7a21c1c 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -212,6 +212,7 @@ required structures.") "openssl-c-rehash-in.patch")))) (build-system gnu-build-system) (outputs '("out" + "doc" ;1.5MiB of man3 pages "static")) ;6MiB of .a files (native-inputs `(("perl" ,perl))) (arguments @@ -282,6 +283,20 @@ required structures.") (delete-file file)) (find-files lib "\\.a$")) #t))) + (add-after 'install 'move-man3-pages + (lambda* (#:key outputs #:allow-other-keys) + ;; Move section 3 man pages to "doc". + (let* ((out (assoc-ref outputs "out")) + (man3 (string-append out "/share/man/man3")) + (doc (assoc-ref outputs "doc")) + (target (string-append doc "/share/man/man3"))) + (mkdir-p target) + (for-each (lambda (file) + (rename-file file + (string-append target "/" + (basename file)))) + (find-files man3)) + #t))) (add-before 'patch-source-shebangs 'patch-tests (lambda* (#:key inputs native-inputs #:allow-other-keys) -- cgit v1.2.3 e'>range
path: root/gnu/packages/ci.scm
AgeCommit message (Expand)Author
2023-11-22gnu: cuirass: Update to bdc1f9f....Ludovic Courtès
2023-10-30gnu: cuirass: Update to 1.2.0....Ludovic Courtès
2023-10-12gnu: cuirass: Use gexps....Ludovic Courtès
2023-10-12gnu: cuirass: Simplify ‘wrap-program’ phase....Ludovic Courtès
2023-10-12gnu: cuirass: Update to db6b633....Ludovic Courtès
2023-10-02gnu: cuirass: Update to 797b26a....Ludovic Courtès
2023-09-25gnu: guile-fibers: Remove version from latest package....Christopher Baines
2023-09-09gnu: cuirass: Update to 6131880....Ludovic Courtès
2023-08-16gnu: cuirass: Update to 7416bb9....Ludovic Courtès