[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/137: gnu: texlive-libkpathsea: Remove duplicate documentation.
From: |
guix-commits |
Subject: |
02/137: gnu: texlive-libkpathsea: Remove duplicate documentation. |
Date: |
Mon, 24 Jun 2024 18:26:29 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit c1f1a0b44a3eb1fac87bd8e7f78ee023310bd46b
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 f94af606e1..2db9de7258 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")
- 01/137: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., (continued)
- 01/137: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/24
- 03/137: gnu: Add texlive-source., guix-commits, 2024/06/24
- 06/137: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"., guix-commits, 2024/06/24
- 13/137: gnu: texlive-csplain: Fix build., guix-commits, 2024/06/24
- 07/137: gnu: texlive-updmap.cfg: Fix font file creation in $HOME., guix-commits, 2024/06/24
- 04/137: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/24
- 08/137: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/24
- 10/137: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/24
- 12/137: gnu: texlive-xcjk2uni: Fix build., guix-commits, 2024/06/24
- 11/137: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/24
- 02/137: gnu: texlive-libkpathsea: Remove duplicate documentation.,
guix-commits <=
- 15/137: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/24
- 20/137: gnu: Add texlive-uptex-bin., guix-commits, 2024/06/24
- 16/137: gnu: Add texlive-omegaware-bin., guix-commits, 2024/06/24
- 05/137: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/24
- 09/137: gnu: Add texlive-libptexenc., guix-commits, 2024/06/24
- 14/137: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/24
- 17/137: gnu: Add texlive-fontware-bin., guix-commits, 2024/06/24
- 18/137: gnu: Add texlive-texware-bin., guix-commits, 2024/06/24
- 21/137: gnu: Add texlive-ptex-bin., guix-commits, 2024/06/24
- 22/137: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/24