Skip to content
Snippets Groups Projects
Commit 6b1f2388 authored by Sou Bunnbu (宋文武)'s avatar Sou Bunnbu (宋文武)
Browse files

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'.
parent dfbce50c
No related branches found
No related tags found
No related merge requests found
...@@ -402,6 +402,7 @@ (define-public gtk+-2 ...@@ -402,6 +402,7 @@ (define-public gtk+-2
(base32 (base32
"1x14rnjvqslpa1q19fp1qalz5sxds72amsgjk8m7769rwk511jr0")))) "1x14rnjvqslpa1q19fp1qalz5sxds72amsgjk8m7769rwk511jr0"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "doc"))
(propagated-inputs (propagated-inputs
`(("atk" ,atk) `(("atk" ,atk)
("gdk-pixbuf" ,gdk-pixbuf) ("gdk-pixbuf" ,gdk-pixbuf)
...@@ -424,7 +425,10 @@ (define-public gtk+-2 ...@@ -424,7 +425,10 @@ (define-public gtk+-2
(arguments (arguments
`(#:make-flags '("CC=gcc") `(#:make-flags '("CC=gcc")
#:configure-flags #:configure-flags
(list "--with-xinput=yes") (list "--with-xinput=yes"
(string-append "--with-html-dir="
(assoc-ref %outputs "doc")
"/share/gtk-doc/html"))
#:phases #:phases
(alist-cons-before (alist-cons-before
'configure 'disable-tests 'configure 'disable-tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment