summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-08 11:30:58 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-08 16:02:34 +0800
commit068a53c36dec5ace42cc3ea89060d9a485592f08 (patch)
tree0883a1f2516fd181866f62555fa1fe8027111f46
parent6967cc3f28ce2d62e2b5c344c3e2e16079fc59d0 (diff)
downloadguix-068a53c36dec5ace42cc3ea89060d9a485592f08.tar.gz
gnu: at-spi2-core: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (at-spi2-core)[outputs]: New field.
  [arguments]: Add #:configure-flags.
-rw-r--r--gnu/packages/gtk.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 95d005a6f6..0dd3b37b3c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -349,8 +349,13 @@ in the GNOME project.")
              (base32
               "1l3l39mw23zyjlcqidvkyqlr4gwbhplzw2hcv3qvn6p8ikxpf2qw"))))
    (build-system gnu-build-system)
+   (outputs '("out" "doc"))
    (arguments
     '(#:make-flags '("CC=gcc") ; for g-ir-scanner
+      #:configure-flags
+      (list (string-append "--with-html-dir="
+                           (assoc-ref %outputs "doc")
+                           "/share/gtk-doc/html"))
       #:phases
       (modify-phases %standard-phases
         (replace check