mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: cmake-minimal: Remove some documentation.
These files are still available in the user-facing cmake package. * gnu/packages/cmake.scm (cmake-minimal)[arguments]: Add phase to remove help documentation.
This commit is contained in:
parent
8d16f302e6
commit
f6dbca83bf
1 changed files with 10 additions and 0 deletions
|
@ -273,6 +273,15 @@ (define preserved-files ',%preserved-third-party-files))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
,@%common-build-phases
|
,@%common-build-phases
|
||||||
|
(add-after 'install 'delete-help-documentation
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/cmake-"
|
||||||
|
,(version-major+minor
|
||||||
|
(package-version cmake-bootstrap))
|
||||||
|
"/Help"))
|
||||||
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
||||||
(let ((skipped-tests (list ,@%common-disabled-tests
|
(let ((skipped-tests (list ,@%common-disabled-tests
|
||||||
|
@ -317,6 +326,7 @@ (define-public cmake
|
||||||
,flags))
|
,flags))
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
|
(delete 'delete-help-documentation)
|
||||||
(add-after 'install 'move-html-doc
|
(add-after 'install 'move-html-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue