gnu: linux-libre: Move documentation to a separate package.

* gnu/packages/linux.scm (linux-libre-5.15-source)
(linux-libre-5.10-source): Do not apply linux-libre-infodocs-target.patch.
(make-linux-libre): Remove BUILD-DOC? argument, and
adjust patches conditional.
(make-linux-libre*): Likewise.  Remove build-doc? validation.
[arguments]: Move documentation related phases to the new
linux-libre-documentation.
[native-inputs]: Move the documentation related native inputs to
linux-libre-documentation.
(linux-libre-documentation): New variable.
* guix/build-system/linux-module.scm
(make-linux-module-builder) [arguments]: Do not delete build-doc and
install-doc phases, which no longer exist for linux-libre.
This commit is contained in:
Maxim Cournoyer 2022-12-03 20:57:24 -05:00
parent b94724e8b2
commit f57fbc2fb1
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 42 additions and 41 deletions

View file

@ -67,8 +67,6 @@
(lambda _
(invoke "make" "modules_prepare")))
(delete 'strip) ;faster
(delete 'build-doc) ;costly and not useful here
(delete 'install-doc)
(replace 'install
(lambda* (#:key inputs #:allow-other-keys)
(let ((out-lib-build (string-append #$output "/lib/modules/build")))