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