guix-commits
[Top][All Lists]
Advanced

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

270/377: gnu: gtk-doc: Enable help.


From: guix-commits
Subject: 270/377: gnu: gtk-doc: Enable help.
Date: Thu, 2 Sep 2021 17:55:53 -0400 (EDT)

raghavgururajan pushed a commit to branch wip-gnome
in repository guix.

commit 670797c6e6ef64ab5d7f09f70eda6a22534cbba5
Author: Raghav Gururajan <rg@raghavgururajan.name>
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 <lle-bout@zaclys.net>
---
 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 a3c6ba8..c99ae2e 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1798,6 +1798,7 @@ information.")
                (base32
                 "0z4h1dggpimygdp719l457jvqilps4qcfpk31jmj3jqpzcsg03ny"))))
     (build-system glib-or-gtk-build-system)
+    (outputs '("out" "help"))
     (arguments
      `(#:parallel-tests? #f
        #:phases
@@ -1860,7 +1861,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")



reply via email to

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