[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/70: gnu: texlive-libkpathsea: Remove duplicate documentation.
From: |
guix-commits |
Subject: |
02/70: gnu: texlive-libkpathsea: Remove duplicate documentation. |
Date: |
Sat, 1 Jun 2024 19:49:41 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit c655be779d22e42ec73e4b67634a72c2553eeed8
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 b44763152b), guix-commits, 2024/06/01
- 02/70: gnu: texlive-libkpathsea: Remove duplicate documentation.,
guix-commits <=
- 05/70: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/01
- 01/70: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/01
- 03/70: gnu: Add texlive-source., guix-commits, 2024/06/01
- 04/70: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/01
- 06/70: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"., guix-commits, 2024/06/01
- 07/70: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/01
- 08/70: gnu: Add texlive-libptexenc., guix-commits, 2024/06/01
- 13/70: gnu: Add texlive-omegaware-bin., guix-commits, 2024/06/01
- 09/70: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/01
- 10/70: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/01