summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-08 22:11:46 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-08 23:06:26 +0100
commit70d310d5ad276af3d4ad2d9d3a642348dc7c0981 (patch)
treeb2f042a9edc3a682a5cac0016aac87921912c3e0
parentf3d9892011da236ac8adb84a61f975017e066fcc (diff)
downloadguix-patches-70d310d5ad276af3d4ad2d9d3a642348dc7c0981.tar
guix-patches-70d310d5ad276af3d4ad2d9d3a642348dc7c0981.tar.gz
gnu: libxcb: Add "doc" output.
* gnu/packages/xorg.scm (libxcb)[outputs]: New field. [arguments]: Pass "--mandir".
-rw-r--r--gnu/packages/xorg.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index b1a4d4a9bd..49215576ed 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5274,6 +5274,7 @@ protocol.")
(base32
"0d2chjgyn5lr9sfhacfvqgnj9l9faz11vn322a06jd6lk3dxcpm5"))))
(build-system gnu-build-system)
+ (outputs '("out" "doc")) ;5.5 MiB of man pages
(propagated-inputs
`(("libpthread-stubs" ,libpthread-stubs)
("libxau" ,libxau)
@@ -5285,8 +5286,11 @@ protocol.")
`(("pkg-config" ,pkg-config)
("python" ,python-minimal-wrapper)))
(arguments
- `(#:configure-flags '("--enable-xkb"
- "--disable-static")))
+ `(#:configure-flags (list "--enable-xkb"
+ "--disable-static"
+ (string-append "--mandir="
+ (assoc-ref %outputs "doc")
+ "/share/man"))))
(home-page "https://xcb.freedesktop.org/")
(synopsis "The X C Binding (XCB) library")
(description