[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/81: gnu: texlive-libkpathsea: Remove duplicate documentation.
From: |
guix-commits |
Subject: |
02/81: gnu: texlive-libkpathsea: Remove duplicate documentation. |
Date: |
Tue, 18 Jun 2024 04:40:08 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 97f06cd4a18165762f1dd3179c475d9352596a6d
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")
- branch tex-team created (now 49524f2068), guix-commits, 2024/06/18
- 01/81: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/18
- 02/81: gnu: texlive-libkpathsea: Remove duplicate documentation.,
guix-commits <=
- 03/81: gnu: Add texlive-source., guix-commits, 2024/06/18
- 04/81: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/18
- 05/81: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/18
- 07/81: gnu: texlive-updmap.cfg: Fix font file creation in $HOME., guix-commits, 2024/06/18
- 06/81: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"., guix-commits, 2024/06/18
- 09/81: gnu: Add texlive-libptexenc., guix-commits, 2024/06/18
- 11/81: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/18
- 10/81: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/18
- 12/81: gnu: texlive-xcjk2uni: Fix build., guix-commits, 2024/06/18
- 13/81: gnu: texlive-csplain: Fix build., guix-commits, 2024/06/18