mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
2ca16e4318
commit
07f436ce13
1 changed files with 6 additions and 3 deletions
|
@ -5142,11 +5142,14 @@ Translation (@dfn{SAT}) are also supported.")
|
||||||
(base32 "1wq8bw60l090z2kb717wyzk5wz1jrcn31ykdaa7k9pz9w79v0v67"))
|
(base32 "1wq8bw60l090z2kb717wyzk5wz1jrcn31ykdaa7k9pz9w79v0v67"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
|
(outputs (list "out" "doc")) ; docs are 80% of all output
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:configure-flags #~(list (format #f "-Dhtmldir=~a/share/doc/~a/html"
|
#:configure-flags
|
||||||
#$output #$name)
|
#~(let ((doc (string-append #$output:doc "/share/doc/" #$name)))
|
||||||
"-Ddocs-build=true" "-Ddocs=all")))
|
(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))
|
(native-inputs (list pkg-config perl python python-sphinx))
|
||||||
;; libnvme.pc, libnvme-mi.pc lists these in Requires.private.
|
;; libnvme.pc, libnvme-mi.pc lists these in Requires.private.
|
||||||
(propagated-inputs (list dbus json-c openssl))
|
(propagated-inputs (list dbus json-c openssl))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue