guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: libxi: Add "doc" output.


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

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

commit 4b797193d7508ddc53bb1ff7a267a0d50c1fe298
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 8 22:26:38 2020 +0100

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

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 24b7d6f..e1523c2 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5156,8 +5156,12 @@ new API's in libXft, or the legacy API's in libX11.")
           (base32
             "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
     (build-system gnu-build-system)
+    (outputs '("out" "doc"))             ;man pages represent 28% of the total
     (arguments
-     '(#:configure-flags '("--disable-static")))
+     '(#:configure-flags (list "--disable-static"
+                               (string-append "--mandir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/man"))))
     (propagated-inputs
       `(("xorgproto" ,xorgproto)
         ("libx11" ,libx11)



reply via email to

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