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'.
This commit is contained in:
parent
dfbce50cdf
commit
6b1f238834
|
@ -402,6 +402,7 @@ is part of the GNOME accessibility project.")
|
||||||
(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 @@ is part of the GNOME accessibility project.")
|
||||||
(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
|
||||||
|
|
Loading…
Reference in New Issue