[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/18: gnu: libnvme: Separate :doc files.
From: |
guix-commits |
Subject: |
11/18: gnu: libnvme: Separate :doc files. |
Date: |
Wed, 19 Jul 2023 11:23:38 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 07f436ce1301c9dc6344b3af03f8a159e35edbbd
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:02 2023 +0200
gnu: libnvme: Separate :doc files.
Also fix the .rst files being dumped in the root of the output.
* gnu/packages/linux.scm (libnvme)[outputs]: Add "doc".
[arguments]: Install HTML and RST documentation there.
---
gnu/packages/linux.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cf67a63331..bfccd1afb7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5142,11 +5142,14 @@ Translation (@dfn{SAT}) are also supported.")
(base32 "1wq8bw60l090z2kb717wyzk5wz1jrcn31ykdaa7k9pz9w79v0v67"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
+ (outputs (list "out" "doc")) ; docs are 80% of all output
(arguments
(list
- #:configure-flags #~(list (format #f "-Dhtmldir=~a/share/doc/~a/html"
- #$output #$name)
- "-Ddocs-build=true" "-Ddocs=all")))
+ #:configure-flags
+ #~(let ((doc (string-append #$output:doc "/share/doc/" #$name)))
+ (list (string-append "-Dhtmldir=" doc "/html")
+ (string-append "-Drstdir=" doc "/rst")
+ "-Ddocs-build=true" "-Ddocs=all"))))
(native-inputs (list pkg-config perl python python-sphinx))
;; libnvme.pc, libnvme-mi.pc lists these in Requires.private.
(propagated-inputs (list dbus json-c openssl))
- 13/18: gnu: nvme-cli: Separate :doc files., (continued)
- 13/18: gnu: nvme-cli: Separate :doc files., guix-commits, 2023/07/19
- 02/18: gnu: tpacpi-bat: Fix cross-compilation., guix-commits, 2023/07/19
- 05/18: gnu: gnome-multi-writer: Remove input labels., guix-commits, 2023/07/19
- 08/18: gnu: libtraceevent: Shorten source snippet., guix-commits, 2023/07/19
- 10/18: gnu: libnvme: Update to 1.5., guix-commits, 2023/07/19
- 14/18: gnu: libinih: Update to 57., guix-commits, 2023/07/19
- 04/18: gnu: rspamd: Update to 3.5., guix-commits, 2023/07/19
- 15/18: gnu: xfstests: Update to 1.1.0-2.87f90a2., guix-commits, 2023/07/19
- 06/18: gnu: gnome-multi-writer: Fix build., guix-commits, 2023/07/19
- 09/18: gnu: lesspipe: Update to 2.08., guix-commits, 2023/07/19
- 11/18: gnu: libnvme: Separate :doc files.,
guix-commits <=
- 12/18: gnu: nvme-cli: Update to 2.5., guix-commits, 2023/07/19
- 16/18: gnu: libbsd: Update to 0.11.7., guix-commits, 2023/07/19
- 18/18: gnu: frama-c: Build verbosely., guix-commits, 2023/07/19
- 17/18: gnu: python-sshtunnel: Fix build., guix-commits, 2023/07/19