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
This commit is contained in:
Nicolas Goaziou 2024-05-30 21:25:04 +02:00 committed by Ludovic Courtès
parent 2402df01a6
commit cca8a27461
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -241,10 +241,17 @@ (define-public texlive-libkpathsea
(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")