[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49025] [PATCH v5 13/20] openssl: Move documentation instead of copy
From: |
Maxime Devos |
Subject: |
[bug#49025] [PATCH v5 13/20] openssl: Move documentation instead of copying and deleting it. |
Date: |
Sun, 11 Jul 2021 13:47:16 +0200 |
* gnu/packages/tls.scm
(openssl)[arguments]<#:phases>{move-extra-documentation}: Use
'rename-file' instead of 'copy-recursively' and
'delete-file-recursively'.
---
gnu/packages/tls.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index fd4a8b07b2..fcecc6ba41 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -416,10 +416,10 @@ required structures.")
(doc #$output:doc)
(man-target (string-append doc "/share/man/man3"))
(html-target (string-append doc "/share/doc/openssl")))
- (copy-recursively man3 man-target)
- (delete-file-recursively man3)
- (copy-recursively html html-target)
- (delete-file-recursively html))))
+ (mkdir-p (dirname man3-target))
+ (mkdir-p (dirname html-target))
+ (rename-file man3 man-target)
+ (rename-file html html-target))))
(add-after
'install 'remove-miscellany
(lambda _
--
2.32.0
- [bug#49025] [PATCH v5 01/20] utils: Define target-linux? predicate., (continued)
[bug#49025] [PATCH v5 03/20] packages: Define this-package-input and this-package-native-input., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 04/20] net-base: Don't cross-compile., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 05/20] tzdata: Don't bother with cross-compiling., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 07/20] libgpg-error: Prevent silent miscompilation some systems., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 06/20] libgpg-error: Remove trailing #f from phases., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 08/20] libgpg-error: Fix cross-compilation error., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 11/20] openssl: Make the #:phases argument a G-expression., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 13/20] openssl: Move documentation instead of copying and deleting it.,
Maxime Devos <=
[bug#49025] [PATCH v5 14/20] openssl: Move all man pages to separate output, not only man3., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 19/20] libelf: Update configure script and config.guess and config.sub., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 20/20] meson: Support cross-compilation., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 09/20] python: Fix reference to input when cross-compiling., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 10/20] openssl: Remove trailing #t from phases., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 15/20] openssl: Extract logic for computing CONFIGURE_TARGET_ARCH., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 16/20] glib: Use a correct python in scripts when cross-compiling., Maxime Devos, 2021/07/11
[bug#49025] [PATCH v5 18/20] glib: Look up "tzdata" in 'native-inputs', not 'inputs'., Maxime Devos, 2021/07/11