diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 5eef3c8488..7e679db220 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -273,6 +273,15 @@ (define preserved-files ',%preserved-third-party-files)) #: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 @@ (define-public cmake ,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"))