summary refs log tree commit diff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-11 09:36:49 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-11 09:46:47 +0200
commitbac4818467f481dbdfed1ee66518a722f8c4f58d (patch)
tree42d4acccd224644e11eb33d9a7fd6b168b7ef750 /gnu/packages/xorg.scm
parentc6a3635d54f9e02bda834082311f31f35da56277 (diff)
downloadguix-bac4818467f481dbdfed1ee66518a722f8c4f58d.tar.gz
gnu: libx11: Add "doc" output.
* gnu/packages/xorg.scm (libx11)[outputs, arguments]: New fields.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a9859e695b..9233c99c7f 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -4951,6 +4951,12 @@ draggable titlebars and borders.")
           (base32
             "05mx0s0vqzds3qjc1gmjr2s6x2ll37z4lfhgm7p2w7936zl2g81a"))))
     (build-system gnu-build-system)
+    (outputs '("out"
+               "doc"))                            ;8 MiB of man pages + XML
+    (arguments
+     '(#:configure-flags (list (string-append "--mandir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/man"))))
     (propagated-inputs
       `(("kbproto" ,kbproto)
         ("libxcb" ,libxcb)))