office-gobmx/odk/Module_odk.mk
Michael Stahl 3563faa837 odk: remove PackageSet_odk_headers
This is quite confusing: the gb_Helper_register_packages_for_install
odk_headers does not actually use the Package odk_headers, but the
PackageSet odk_headers, because the name is the same and the PackageSet
directory comes first in the search path.

This means that the Package odk_headers_generated is installed despite
there being no obvious reason why.

The PackageSet doesn't provide much value here, so just remove it.

Change-Id: I564f3b9fc6acaabe700328bc8c3db70c3b2de0cd
2017-06-02 23:01:11 +02:00

64 lines
1.6 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_Module_Module,odk))
$(eval $(call gb_Module_add_targets,odk,\
$(if $(filter WNT,$(OS)),Package_cli) \
$(if $(DOXYGEN),\
CustomTarget_doxygen \
GeneratedPackage_odk_doxygen \
) \
CustomTarget_html \
CustomTarget_settings \
Executable_unoapploader \
Package_config \
Package_docs \
Package_html \
Package_examples \
Package_odk_headers \
Package_odk_headers_generated \
Package_settings \
Package_settings_generated \
Package_share_readme \
Package_share_readme_generated \
))
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,odk,\
CustomTarget_config_win \
Package_config_win \
))
endif
ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Module_add_targets,odk,\
$(if $(and $(BUILD_UNOWINREG),$(filter GCC,$(COM))),CustomTarget_unowinreg)\
CustomTarget_classes \
CustomTarget_javadoc \
GeneratedPackage_odk_javadoc \
GeneratedPackage_uno_loader_classes \
$(if $(filter WNT,$(OS)),Library_unowinreg) \
Package_unowinreg \
))
endif
$(eval $(call gb_Module_add_check_targets,odk,\
CppunitTest_odk_checkapi \
CustomTarget_allheaders \
CustomTarget_check \
))
ifneq ($(filter $(OS),LINUX MACOSX),)
$(eval $(call gb_Module_add_subsequentcheck_targets,odk, \
CustomTarget_build-examples \
))
endif
# vim: set noet sw=4 ts=4: