office-gobmx/sysui/Package_infoplist.mk
Michael Stahl e50a5477fa sysui: try to fix Mac instsets
7c6ca00e61 broke the Mac build, because
the files from infoplist Package have double "/" because of the empty
path in the call to gb_Package_add_files.

Change-Id: I3a72e8de0a8f2256b068a491231aaaa3d3b00b6e
2018-07-11 16:16:13 +02:00

24 lines
823 B
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_Package_Package,infoplist,$(call gb_CustomTarget_get_workdir,sysui/infoplist)))
# workaround to avoid gb_Package_add_files with empty directory adding extra '/'
$(eval $(call gb_Package_set_outdir,infoplist,$(INSTDIR)))
$(eval $(call gb_Package_add_files,infoplist,$(PRODUCTNAME_WITHOUT_SPACES).app/Contents,\
PkgInfo \
Info.plist \
))
$(eval $(call gb_Package_add_files,infoplist,bin,\
$(foreach lang,en-US $(gb_WITH_LANG),InfoPlist_$(lang).zip) \
))
# vim: set noet sw=4 ts=4: