mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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:
parent
2402df01a6
commit
cca8a27461
1 changed files with 9 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue