mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
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 <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5f9a9a5ca4
commit
5aca274c7b
@ -80,17 +80,11 @@ else
|
|||||||
GNUTLS_CONF_OPTS += --without-zlib
|
GNUTLS_CONF_OPTS += --without-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Some examples in doc/examples use wchar
|
|
||||||
define GNUTLS_DISABLE_DOCS
|
|
||||||
$(SED) 's/ doc / /' $(@D)/Makefile.in
|
|
||||||
endef
|
|
||||||
|
|
||||||
define GNUTLS_DISABLE_TOOLS
|
define GNUTLS_DISABLE_TOOLS
|
||||||
$(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in
|
$(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in
|
||||||
$(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in
|
$(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in
|
||||||
endef
|
endef
|
||||||
|
|
||||||
GNUTLS_POST_PATCH_HOOKS += GNUTLS_DISABLE_DOCS
|
|
||||||
GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS)
|
GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS)
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user