From 600233bdd2d52d8d8e2d7afc5628e5ac42d52c95 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 30 Aug 2015 11:31:05 +0200 Subject: gnu: clutter: Add "doc" output. * gnu/packages/gnome.scm (clutter)[outputs]: New field. [arguments]: Pass --with-html-dir. --- gnu/packages/gnome.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3fd2e53e23..790ec763b4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2629,6 +2629,8 @@ (define-public clutter (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 @@ (define-public clutter `(("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)) -- cgit v1.2.3