Update git submodules
[LibreOffice.git] / desktop / Package_scripts.mk
blob248665595ee66460550bb73703d813cfd6c587f8
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,desktop_scripts_install,$(SRCDIR)/desktop/scripts))
12 ifeq (,$(filter MACOSX WNT,$(OS)))
14 $(eval $(call gb_Package_add_file,desktop_scripts_install,$(LIBO_BIN_FOLDER)/gdbtrace,gdbtrace))
15 ifneq (,$(call gb_CondExeUnopkg,$(true)))
16 $(eval $(call gb_Package_add_file,desktop_scripts_install,$(LIBO_BIN_FOLDER)/unopkg,unopkg.sh))
17 endif
19 endif
21 ifeq ($(OS), MACOSX)
22 # only mach-o binaries allowed in bin folder (signing scripts would require extended attributes)
23 # so install it into Resources folder and use a symlink instead
24 # see https://developer.apple.com/library/archive/technotes/tn2206/_index.html
25 $(eval $(call gb_Package_add_file,desktop_scripts_install,$(LIBO_SHARE_FOLDER)/unoinfo,unoinfo-mac.sh))
26 $(eval $(call gb_Package_add_symbolic_link,desktop_scripts_install,$(LIBO_BIN_FOLDER)/unoinfo,../$(LIBO_SHARE_FOLDER)/unoinfo))
27 else ifneq ($(OS),WNT)
28 $(eval $(call gb_Package_add_file,desktop_scripts_install,$(LIBO_BIN_FOLDER)/unoinfo,unoinfo.sh))
29 endif
31 # vim: set ts=4 sw=4 noet: