summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-08 22:26:16 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-08 23:06:26 +0100
commit49a09ea9e52d24bf27d854ececa9202c2a9705c5 (patch)
tree3d9f2a460a2d440bf2fce6d2fec6be7470a2af84
parent70d310d5ad276af3d4ad2d9d3a642348dc7c0981 (diff)
downloadguix-49a09ea9e52d24bf27d854ececa9202c2a9705c5.tar.gz
gnu: libxext: Add "doc" output.
* gnu/packages/xorg.scm (libxext)[outputs]: New field.
[arguments]: Pass "--mandir".
-rw-r--r--gnu/packages/xorg.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 49215576ed..24b7d6f1e5 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -4737,9 +4737,13 @@ cannot be adequately worked around on the client side of the wire.")
           (base32
             "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
     (build-system gnu-build-system)
+    (outputs '("out" "doc"))             ;man pages represent 40% of the total
     (arguments
      `(#:configure-flags
        (list "--disable-static"
+             (string-append "--mandir="
+                            (assoc-ref %outputs "doc")
+                            "/share/man")
              ;; Disable zero malloc check that fails when cross-compiling.
              ,@(if (%current-target-system)
                    '("--disable-malloc0returnsnull")