me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2020-11-19 18:45:42 +02:00
parent 8d16f302e6
commit f6dbca83bf
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 0 deletions

View File

@ -273,6 +273,15 @@ and workspaces that can be used in the compiler environment of your choice.")
#:phases
(modify-phases %standard-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
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((skipped-tests (list ,@%common-disabled-tests
@ -317,6 +326,7 @@ and workspaces that can be used in the compiler environment of your choice.")
,flags))
((#:phases phases)
`(modify-phases ,phases
(delete 'delete-help-documentation)
(add-after 'install 'move-html-doc
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))