raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit d8da8b33743d1c04857a801c2c14129f2ad00d1a
Author: Raghav Gururajan <[email protected]>
AuthorDate: Fri Mar 12 09:13:14 2021 -0500
gnu: gtk-doc: Enable help.
* gnu/packages/gtk.scm (gtk-doc) [outputs]: New output 'help'.
[arguments]<#:configure-flags>[--with-help-dir]: New flag.
Signed-off-by: Léo Le Bouter <[email protected]>
---
gnu/packages/gtk.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 7b2a145..e9ed081 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1746,6 +1746,7 @@ information.")
(base32
"0z4h1dggpimygdp719l457jvqilps4qcfpk31jmj3jqpzcsg03ny"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "help"))
(arguments
`(#:parallel-tests? #f
#:phases
@@ -1808,7 +1809,10 @@ information.")
#:configure-flags
(list (string-append "--with-xml-catalog="
(assoc-ref %build-inputs "docbook-xml")
- "/xml/dtd/docbook/catalog.xml"))))
+ "/xml/dtd/docbook/catalog.xml")
+ (string-append "--with-help-dir="
+ (assoc-ref %outputs "help")
+ "/share/help"))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")