nls? ( sys-devel/gettext )
test? ( app-misc/datefudge )"
+DOCS=(
+ README.md
+ doc/certtool.cfg
+)
+
+HTML_DOCS=()
+
pkg_setup() {
# bug#520818
export TZ=UTC
+
+ use doc && HTML_DOCS+=(
+ doc/gnutls.html
+ )
}
src_prepare() {
# hardware-accell is disabled on OSX because the asm files force
# GNU-stack (as doesn't support that) and when that's removed ld
# complains about duplicate symbols
- ECONF_SOURCE=${S} \
- econf \
+ ECONF_SOURCE=${S} econf \
--without-included-libtasn1 \
$(use_enable cxx) \
$(use_enable dane libdane) \
einstalldocs
prune_libtool_files --all
- dodoc doc/certtool.cfg
-
- if use doc; then
- dohtml doc/gnutls.html
- else
- rm -fr "${ED}/usr/share/doc/${PF}/html"
- fi
-
if use examples; then
docinto examples
dodoc doc/examples/*.c