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 $(eval
$(call gb_Package_add_file
,desktop_scripts_install
,$(LIBO_BIN_FOLDER
)/unopkg
,unopkg.sh
))
20 # only mach-o binaries allowed in bin folder (signing scripts would require extended attributes)
21 # so install it into Resources folder and use a symlink instead
22 # see https://developer.apple.com/library/archive/technotes/tn2206/_index.html
23 $(eval
$(call gb_Package_add_file
,desktop_scripts_install
,$(LIBO_SHARE_FOLDER
)/unoinfo
,unoinfo-mac.sh
))
24 $(eval
$(call gb_Package_add_symbolic_link
,desktop_scripts_install
,$(LIBO_BIN_FOLDER
)/unoinfo
,..
/$(LIBO_SHARE_FOLDER
)/unoinfo
))
25 else ifneq ($(OS
),WNT
)
26 $(eval
$(call gb_Package_add_file
,desktop_scripts_install
,$(LIBO_BIN_FOLDER
)/unoinfo
,unoinfo.sh
))
29 # vim: set ts=4 sw=4 noet: