guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: gnu: libxext: Add "doc" output.


From: guix-commits
Subject: 02/05: gnu: libxext: Add "doc" output.
Date: Sun, 8 Nov 2020 17:06:43 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit 49a09ea9e52d24bf27d854ececa9202c2a9705c5
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 8 22:26:16 2020 +0100

    gnu: libxext: Add "doc" output.
    
    * gnu/packages/xorg.scm (libxext)[outputs]: New field.
    [arguments]: Pass "--mandir".
---
 gnu/packages/xorg.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 4921557..24b7d6f 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]