gnu: linux-libre-documentation: Honour ‘--cores’.
* gnu/packages/linux.scm (linux-libre-documentation)[arguments]: Respect PARALLEL-BUILD? and PARALLEL-JOB-COUNT.master
parent
cd22932945
commit
73cb232442
|
@ -1852,11 +1852,14 @@ GnuPG-based password manager like @code{pass}.")
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda* (#:key parallel-build? #:allow-other-keys)
|
||||||
(substitute* "Documentation/Makefile"
|
(substitute* "Documentation/Makefile"
|
||||||
;; Remove problematic environment check script.
|
;; Remove problematic environment check script.
|
||||||
((".*scripts/sphinx-pre-install.*") ""))
|
((".*scripts/sphinx-pre-install.*") ""))
|
||||||
(invoke "make" "infodocs")))
|
(invoke "make" "infodocs"
|
||||||
|
"-j" (if parallel-build?
|
||||||
|
(number->string (parallel-job-count))
|
||||||
|
"1"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
(let* ((info-dir (string-append #$output "/share/info"))
|
(let* ((info-dir (string-append #$output "/share/info"))
|
||||||
|
|
Reference in New Issue