Avoid potential negative array index access to cached text.
[LibreOffice.git] / setup_native / Package_packinfo.mk
blobd958a2631d1857d8d9aadc0bdcfb454c8ada5aeb
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Package_Package,setup_native_packinfo,$(SRCDIR)))
12 # Check if any bundled extensions are installed; if none are installed, then
13 # gb_Package_add_empty_directory is needed to create the empty extensions directory (but if any are
14 # installed, then gb_Package_add_empty_directory would cause errors during
15 # CustomTarget_instsetoo_native/install, as the directory is not empty in that case):
16 ifeq ($(filter DICTIONARIES,$(BUILD_TYPE))$(WITH_EXTRA_EXTENSIONS)$(ENABLE_MEDIAWIKI),)
17 $(eval $(call gb_Package_add_empty_directory,setup_native_packinfo,$(LIBO_SHARE_FOLDER)/extensions))
18 endif
20 # vim: set noet sw=4 ts=4: