guix-commits
[Top][All Lists]
Advanced

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

03/15: gnu: gtk+-2: Move html documentation to 'doc' output.


From: ???
Subject: 03/15: gnu: gtk+-2: Move html documentation to 'doc' output.
Date: Wed, 08 Apr 2015 08:04:49 +0000

iyzsong pushed a commit to branch core-updates
in repository guix.

commit 6b1f238834fd60a487e2465c28f5d333c91c72aa
Author: 宋文武 <address@hidden>
Date:   Wed Apr 8 15:09:26 2015 +0800

    gnu: gtk+-2: Move html documentation to 'doc' output.
    
    * gnu/packages/gtk.scm (gtk+-2)[outputs]: New field.
      [arguments]<#:configure-flags>: Add '--with-html-dir'.
---
 gnu/packages/gtk.scm |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 53d4122..4301b56 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -402,6 +402,7 @@ is part of the GNOME accessibility project.")
              (base32
               "1x14rnjvqslpa1q19fp1qalz5sxds72amsgjk8m7769rwk511jr0"))))
    (build-system gnu-build-system)
+   (outputs '("out" "doc"))
    (propagated-inputs
     `(("atk" ,atk)
       ("gdk-pixbuf" ,gdk-pixbuf)
@@ -424,7 +425,10 @@ is part of the GNOME accessibility project.")
    (arguments
     `(#:make-flags '("CC=gcc")
       #:configure-flags
-      (list "--with-xinput=yes")
+      (list "--with-xinput=yes"
+            (string-append "--with-html-dir="
+                           (assoc-ref %outputs "doc")
+                           "/share/gtk-doc/html"))
       #:phases
       (alist-cons-before
        'configure 'disable-tests



reply via email to

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