summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-12-21 14:12:10 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2021-12-21 17:29:55 +0100
commit87cdb3e51f90267be77d535b3acd368bad2f5999 (patch)
treead183e032ae8b35c8260a63e4bc108cdc78933af /helpcompiler
parent82233965486f88f4ce1313dcf35b4bc688e1832a (diff)
Don't build clucene if not needed
Just build it if HELPTOOLS or XMLHELP are in BUILD_TYPE. And simply tets for clucene just in this case. And since XMLHELP is not in the list of PERMITTED_BUILD_TARGETS, disable it. Change-Id: I13fdbf096c60191a428e23c22344f7e22e8c5d66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127231 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/Module_helpcompiler.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/Module_helpcompiler.mk b/helpcompiler/Module_helpcompiler.mk
index 146e3868df3f..344faba3a1b8 100644
--- a/helpcompiler/Module_helpcompiler.mk
+++ b/helpcompiler/Module_helpcompiler.mk
@@ -10,7 +10,7 @@
$(eval $(call gb_Module_Module,helpcompiler))
$(eval $(call gb_Module_add_targets,helpcompiler,\
- Library_helplinker \
+ $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,Library_helplinker) \
))
$(eval $(call gb_Module_add_targets_for_build,helpcompiler,\