update credits
[LibreOffice.git] / shell / Package_senddoc.mk
blob3716b193dc83c097229c709a06c2dd42cb5e1fc5
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,shell_senddoc,$(SRCDIR)/shell/source/unix/misc))
12 ifeq ($(OS), MACOSX)
13 # only mach-o binaries allowed in bin folder (signing scripts would require extended attributes)
14 # so install it into Resources folder and use a symlink instead
15 # see https://developer.apple.com/library/archive/technotes/tn2206/_index.html
16 $(eval $(call gb_Package_add_file,shell_senddoc,$(LIBO_SHARE_FOLDER)/senddoc,senddoc.sh))
17 $(eval $(call gb_Package_add_symbolic_link,shell_senddoc,$(LIBO_BIN_FOLDER)/senddoc,../$(LIBO_SHARE_FOLDER)/senddoc))
18 else
19 $(eval $(call gb_Package_add_file,shell_senddoc,$(LIBO_BIN_FOLDER)/senddoc,senddoc.sh))
20 endif
22 # vim: set shiftwidth=4 tabstop=4 noexpandtab: