From: Gustavo Zacarias Date: Mon, 14 Dec 2015 18:41:37 +0000 (-0300) Subject: gnutls: remove manual doc disabling kludge X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5aca274c7b8fe60fb76903f6c408db4612b0891c;p=buildroot.git gnutls: remove manual doc disabling kludge It's no longer required, SUBDIRS += doc is guarded by ENABLE_DOC in Makefile.am and the only place where it's used regardless is in dist-hook which isn't used by buildroot. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index d97e5e550c..2855e8f4fd 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -80,17 +80,11 @@ else GNUTLS_CONF_OPTS += --without-zlib endif -# Some examples in doc/examples use wchar -define GNUTLS_DISABLE_DOCS - $(SED) 's/ doc / /' $(@D)/Makefile.in -endef - define GNUTLS_DISABLE_TOOLS $(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in $(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in endef -GNUTLS_POST_PATCH_HOOKS += GNUTLS_DISABLE_DOCS GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS) $(eval $(autotools-package))