gnutls: remove manual doc disabling kludge
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 14 Dec 2015 18:41:37 +0000 (15:41 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Dec 2015 20:51:00 +0000 (21:51 +0100)
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 <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnutls/gnutls.mk

index d97e5e550c47747ad8ecc7baec852dfd209c42fa..2855e8f4fd293875eeaad446b3464c4361639b33 100644 (file)
@@ -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))