diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:59:04 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:59:17 +0200 |
commit | 8c781cee8f2171b0ab8bb22993f583f5f254f32f (patch) | |
tree | 1c9c03a587d02ac916f723747b141efc0e428d6b /net-libs/gnutls | |
parent | net-wireless/rtl-sdr: fix builds w/newer compiler standards (diff) | |
download | gentoo-8c781cee8f2171b0ab8bb22993f583f5f254f32f.tar.gz gentoo-8c781cee8f2171b0ab8bb22993f583f5f254f32f.tar.bz2 gentoo-8c781cee8f2171b0ab8bb22993f583f5f254f32f.zip |
net-libs/gnutls: cleanup docs
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r-- | net-libs/gnutls/gnutls-3.5.8.ebuild | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/net-libs/gnutls/gnutls-3.5.8.ebuild b/net-libs/gnutls/gnutls-3.5.8.ebuild index 6a55627b332a..9e98c94bafb3 100644 --- a/net-libs/gnutls/gnutls-3.5.8.ebuild +++ b/net-libs/gnutls/gnutls-3.5.8.ebuild @@ -55,9 +55,20 @@ DEPEND="${RDEPEND} 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() { @@ -100,8 +111,7 @@ multilib_src_configure() { # 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) \ @@ -131,14 +141,6 @@ multilib_src_install_all() { 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 |