diff options
author | Leo Famulari <leo@famulari.name> | 2022-12-27 12:48:14 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2022-12-27 12:54:36 -0500 |
commit | 86e4c50e25396e7a115948556b90930938487528 (patch) | |
tree | 7d3cfe616a0b5a789dcc8c4ae77c30db85c07534 /gnu/packages | |
parent | 8f93a1e01a879ae026678dd92c18e2a2a49be540 (diff) |
gnu: linux-libre-documentation: Organize.
This package was miscategorized as a "Generic kernel package".
* gnu/packages/linux.scm (linux-libre-documentation): Move variable into
its own section.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/linux.scm | 78 |
1 files changed, 41 insertions, 37 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ddf7025832..568c2b6b92 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1085,43 +1085,6 @@ Linux kernel. It has been modified to remove all non-free binary blobs.") (define-public linux-libre-source linux-libre-6.0-source) (define-public linux-libre linux-libre-6.0) -(define-public linux-libre-documentation - (package - (inherit linux-libre) - (name "linux-libre-documentation") - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'configure) - (replace 'build - (lambda _ - (substitute* "Documentation/Makefile" - ;; Remove problematic environment check script. - ((".*scripts/sphinx-pre-install.*") "")) - (invoke "make" "infodocs"))) - (replace 'install - (lambda _ - (let* ((info-dir (string-append #$output "/share/info")) - (info (string-append info-dir - "/TheLinuxKernel.info.gz"))) - (with-directory-excursion "Documentation/output" - (invoke "make" "-C" "texinfo" "install-info" - (string-append "infodir=" info-dir))) - ;; Create a symlink, for convenience. - (symlink info (string-append info-dir - "/linux.info.gz")))))))) - (native-inputs - (list graphviz - perl - python - python-sphinx - texinfo - which)) - (synopsis "Documentation for the kernel Linux-Libre") - (description "This package provides the documentation for the kernel -Linux-Libre, as an Info manual. To consult it, run @samp{info linux}."))) - (define-public linux-libre-5.15 (make-linux-libre* linux-libre-5.15-version linux-libre-5.15-gnu-revision @@ -1903,6 +1866,47 @@ login password to @code{gpg-agent}. This can be useful if you are using a GnuPG-based password manager like @code{pass}.") (license license:gpl3+))) + +;;; +;;; Kernel documentation +;;; + +(define-public linux-libre-documentation + (package + (inherit linux-libre) + (name "linux-libre-documentation") + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (substitute* "Documentation/Makefile" + ;; Remove problematic environment check script. + ((".*scripts/sphinx-pre-install.*") "")) + (invoke "make" "infodocs"))) + (replace 'install + (lambda _ + (let* ((info-dir (string-append #$output "/share/info")) + (info (string-append info-dir + "/TheLinuxKernel.info.gz"))) + (with-directory-excursion "Documentation/output" + (invoke "make" "-C" "texinfo" "install-info" + (string-append "infodir=" info-dir))) + ;; Create a symlink, for convenience. + (symlink info (string-append info-dir + "/linux.info.gz")))))))) + (native-inputs + (list graphviz + perl + python + python-sphinx + texinfo + which)) + (synopsis "Documentation for the kernel Linux-Libre") + (description "This package provides the documentation for the kernel +Linux-Libre, as an Info manual. To consult it, run @samp{info linux}."))) ;;; ;;; Miscellaneous. |