gnu: libxi: Add "doc" output.

* gnu/packages/xorg.scm (libxi)[outputs]: New field.
[arguments]: Pass "--mandir".
This commit is contained in:
Ludovic Courtès 2020-11-08 22:26:38 +01:00
parent 49a09ea9e5
commit 4b797193d7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5156,8 +5156,12 @@ (define-public libxi
(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)