diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-10-09 02:00:00 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-10-09 02:00:00 +0200 |
| commit | ca73325d75778ca23770fc6287014b2f0a6eea01 (patch) | |
| tree | 662cfc6f8db3d4bef84a95ced0c46d01fd58f5da /gnu/packages/man.scm | |
| parent | bc435c595f7ad988da37c8c5a62f54956bd873cf (diff) | |
gnu: man-pages: Use LIST of arguments.
We're already using a Gexp for #:make-flags; this unweirds that ,#~.
* gnu/packages/man.scm (man-pages)[arguments]: Use LIST & G-expressions.
Diffstat (limited to 'gnu/packages/man.scm')
| -rw-r--r-- | gnu/packages/man.scm | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 8ecb62dbe24..813ef46e62f 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm | |||
| @@ -282,25 +282,27 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and | |||
| 282 | (base32 "1252c1356z5spya3yl0lcmmymglx3bmfwmamiz1y5l13xqpwbnwy")))) | 282 | (base32 "1252c1356z5spya3yl0lcmmymglx3bmfwmamiz1y5l13xqpwbnwy")))) |
| 283 | (build-system gnu-build-system) | 283 | (build-system gnu-build-system) |
| 284 | (arguments | 284 | (arguments |
| 285 | `(#:phases | 285 | (list |
| 286 | (modify-phases %standard-phases | 286 | #:phases |
| 287 | (add-after 'unpack 'skip-html | 287 | #~(modify-phases %standard-phases |
| 288 | ;; As of 6.00, this package tries to convert man pages to HTML with | 288 | (add-after 'unpack 'skip-html |
| 289 | ;; man2html. The only Guix package currently providing that script | 289 | ;; As of 6.00, this package tries to convert man pages to HTML with |
| 290 | ;; is man-for-txr, but that version seems unable to handle relative | 290 | ;; man2html. The only Guix package currently providing that script |
| 291 | ;; ‘.so’ statements properly. Disable HTML generation. | 291 | ;; is man-for-txr, but that version seems unable to handle relative |
| 292 | (lambda _ | 292 | ;; ‘.so’ statements properly. Disable HTML generation. |
| 293 | (substitute* "lib/build-html.mk" | 293 | (lambda _ |
| 294 | (("(html:) .*" _ target) (string-append target "\n"))))) | 294 | (substitute* "lib/build-html.mk" |
| 295 | (delete 'configure)) | 295 | (("(html:) .*" _ target) (string-append target "\n"))))) |
| 296 | (delete 'configure)) | ||
| 296 | 297 | ||
| 297 | ;; The 'all' target depends on three targets that directly populate | 298 | ;; The 'all' target depends on three targets that directly populate |
| 298 | ;; $(MANDIR) based on its current contents. Doing that in parallel | 299 | ;; $(MANDIR) based on its current contents. Doing that in parallel |
| 299 | ;; leads to undefined behavior (see <http://bugs.gnu.org/18701>.) | 300 | ;; leads to undefined behavior (see <http://bugs.gnu.org/18701>.) |
| 300 | #:parallel-build? #f | 301 | #:parallel-build? #f |
| 301 | 302 | ||
| 302 | #:tests? #f | 303 | #:tests? #f |
| 303 | #:make-flags ,#~(list (string-append "mandir=" #$output "/share/man")))) | 304 | #:make-flags |
| 305 | #~(list (string-append "mandir=" #$output "/share/man")))) | ||
| 304 | (home-page "https://www.kernel.org/doc/man-pages/") | 306 | (home-page "https://www.kernel.org/doc/man-pages/") |
| 305 | (synopsis "Development manual pages from the Linux project") | 307 | (synopsis "Development manual pages from the Linux project") |
| 306 | (description | 308 | (description |
