[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/73: gnu: texlive-libkpathsea: Remove duplicate documentation.
From: |
guix-commits |
Subject: |
02/73: gnu: texlive-libkpathsea: Remove duplicate documentation. |
Date: |
Tue, 4 Jun 2024 16:39:45 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 88d66a75d4d01dc77439f2bfab2c22cdb76cee74
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 30 21:25:04 2024 +0200
gnu: texlive-libkpathsea: Remove duplicate documentation.
* gnu/packages/tex.scm (texlive-libkpathsea)[arguments]<#:phases>: Replace
useless `install' phase instead of adding a new one after it. Delete
documentation already included in another package.
Change-Id: I2c1f1ff12ab24792370f45adc94f056c1ffadec9
---
gnu/packages/tex.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 91b0393641..f3c93e4061 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -241,10 +241,17 @@
(lambda _
(substitute* "texk/kpathsea/config.h"
(("#define ST_NLINK_TRICK") ""))))
- (add-after 'install 'post-install
+ (replace 'install
(lambda _
(with-directory-excursion "texk/kpathsea"
- (invoke "make" "install")))))))
+ (invoke "make" "install"))))
+ (add-after 'install 'remove-documentation
+ ;; Documentation is provided by TEXLIVE-KPATHSEA, in a dedicated
+ ;; "doc" output. Remove duplicates.
+ (lambda _
+ (with-directory-excursion #$output
+ (for-each delete-file-recursively
+ '("share/info" "share/man"))))))))
(native-search-paths
(list (search-path-specification
(variable "GUIX_TEXMF")
- branch tex-team created (now 27805030c5), guix-commits, 2024/06/04
- 01/73: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/04
- 02/73: gnu: texlive-libkpathsea: Remove duplicate documentation.,
guix-commits <=
- 03/73: gnu: Add texlive-source., guix-commits, 2024/06/04
- 07/73: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/04
- 05/73: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/04
- 08/73: gnu: Add texlive-libptexenc., guix-commits, 2024/06/04
- 11/73: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/04
- 04/73: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/04
- 06/73: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"., guix-commits, 2024/06/04
- 09/73: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/04
- 10/73: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/04
- 12/73: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/04