vim: Docs are only available when BR2_PACKAGE_VIM_RUNTIME is selected

Fixes
http://autobuild.buildroot.net/results/adc3e2f876f83a4011574e03bceb0007d7e891a2/build-end.log

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Markos Chandras 2013-02-19 06:30:46 +00:00 committed by Peter Korsgaard
parent 2ac83dd927
commit 033928fd01

View File

@ -42,10 +42,9 @@ endef
ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS
endif
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS
endif
endif
$(eval $(autotools-package))