guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: clutter: Add "doc" output.


From: Ludovic Courtès
Subject: 02/02: gnu: clutter: Add "doc" output.
Date: Sun, 30 Aug 2015 10:16:02 +0000

civodul pushed a commit to branch master
in repository guix.

commit 600233bdd2d52d8d8e2d7afc5628e5ac42d52c95
Author: Ludovic Courtès <address@hidden>
Date:   Sun Aug 30 11:31:05 2015 +0200

    gnu: clutter: Add "doc" output.
    
    * gnu/packages/gnome.scm (clutter)[outputs]: New field.
      [arguments]: Pass --with-html-dir.
---
 gnu/packages/gnome.scm |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3fd2e53..790ec76 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2629,6 +2629,8 @@ without stepping on each others toes.")
         (base32
          "1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf"))))
     (build-system gnu-build-system)
+    (outputs '("out"
+               "doc"))                            ;9 MiB of gtk-doc HTML pages
     (native-inputs
      `(("glib:bin" ,glib "bin")     ; for glib-genmarshal
        ("gobject-introspection" ,gobject-introspection)
@@ -2649,7 +2651,12 @@ without stepping on each others toes.")
      `(("libxkbcommon" ,libxkbcommon)
        ("udev" ,eudev)))
     (arguments
-     `(#:configure-flags '("--enable-x11-backend=yes")
+     `(#:configure-flags (list "--enable-x11-backend=yes"
+
+                               ;; This produces share/doc/{clutter,cally}.
+                               (string-append "--with-html-dir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/doc"))
        ;; XXX FIXME: Get test suite working.  It would probably fail in the
        ;; same way the cogl tests fail, since clutter is based on cogl.
        #:tests? #f))



reply via email to

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