office-gobmx/desktop/Library_deployment.mk
Jan-Marek Glogowski 14069d8417 configure: Improve help-options handling
This patch includes:

* A README.help.md as a general documentation for the different
  help types, the LO code and help-related build options.
* Adds --disable-xmlhelp for removing the xmlhelp support from the
  build. Disable for iOS, Android and Emscripten. This was partly
  included in HAVE_FEATURE_DESKTOP before.
* Rename WITH_HELP define to WITH_HELPPACKS, which reflects the
  actual usage AFAIK.
* Depend --with-omindex on --with-help=online and don't override
  the --with-help setting. Error out on conflicting options.
* Depend --with-helppack-integration on build help variants, which
  actually result in help packs.

Kind of reverts commit 2c38ea6d16
("Building without --with-help is not supposed to disable help
functionality").

Change-Id: Ie4cb73905b3ed94e991d9f1bd75cfbd6de9da385
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116222
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-22 14:25:51 +02:00

81 lines
2.9 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,deployment))
$(eval $(call gb_Library_set_include,deployment,\
$$(INCLUDE) \
-I$(SRCDIR)/desktop/inc \
-I$(SRCDIR)/desktop/source/deployment/inc \
-I$(SRCDIR)/desktop/source/deployment/registry/inc \
))
$(eval $(call gb_Library_use_external,deployment,boost_headers))
$(eval $(call gb_Library_set_precompiled_header,deployment,desktop/inc/pch/precompiled_deployment))
$(eval $(call gb_Library_use_sdk_api,deployment))
$(eval $(call gb_Library_use_libraries,deployment,\
comphelper \
cppu \
cppuhelper \
deploymentmisc \
sal \
svl \
tl \
ucbhelper \
utl \
vcl \
xmlscript \
i18nlangtag \
))
$(eval $(call gb_Library_set_componentfile,deployment,desktop/source/deployment/deployment))
$(eval $(call gb_Library_add_exception_objects,deployment,\
desktop/source/deployment/dp_log \
desktop/source/deployment/dp_persmap \
desktop/source/deployment/dp_xml \
desktop/source/deployment/manager/dp_activepackages \
desktop/source/deployment/manager/dp_commandenvironments \
desktop/source/deployment/manager/dp_extensionmanager \
desktop/source/deployment/manager/dp_informationprovider \
desktop/source/deployment/manager/dp_manager \
desktop/source/deployment/manager/dp_managerfac \
desktop/source/deployment/manager/dp_properties \
desktop/source/deployment/registry/component/dp_compbackenddb \
desktop/source/deployment/registry/component/dp_component \
desktop/source/deployment/registry/configuration/dp_configuration \
desktop/source/deployment/registry/configuration/dp_configurationbackenddb \
desktop/source/deployment/registry/dp_backend \
desktop/source/deployment/registry/dp_backenddb \
desktop/source/deployment/registry/dp_registry \
desktop/source/deployment/registry/executable/dp_executable \
desktop/source/deployment/registry/executable/dp_executablebackenddb \
desktop/source/deployment/registry/help/dp_help \
desktop/source/deployment/registry/help/dp_helpbackenddb \
desktop/source/deployment/registry/package/dp_extbackenddb \
desktop/source/deployment/registry/package/dp_package \
desktop/source/deployment/registry/script/dp_lib_container \
desktop/source/deployment/registry/script/dp_script \
desktop/source/deployment/registry/script/dp_scriptbackenddb \
desktop/source/deployment/registry/sfwk/dp_parceldesc \
desktop/source/deployment/registry/sfwk/dp_sfwk \
))
ifneq (,$(filter XMLHELP,$(BUILD_TYPE)))
$(eval $(call gb_Library_use_libraries,deployment,\
helplinker \
))
endif
# vim: set ts=4 sw=4 et: