bump product version to 4.1.6.2
[LibreOffice.git] / setup_native / CustomTarget_mac.mk
blobd3b171b6716e57625db0c9e556009ad1efc099b6
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_CustomTarget_CustomTarget,setup_native/mac))
12 $(eval $(call gb_CustomTarget_register_target,setup_native/mac,macinstall.ulf))
14 #FIXME: generalize rule? ripped off from ScpMergeTarget
15 ifneq ($(WITH_LANG),)
16 $(call gb_CustomTarget_get_workdir,setup_native/mac)/macinstall.ulf: $(SRCDIR)/setup_native/source/mac/macinstall.ulf | $(call gb_Executable_get_runtime_dependencies,ulfex)
17 $(call gb_Output_announce,$@,$(true),SUM,1)
18 MERGEINPUT=`$(gb_MKTEMP)` && \
19 echo $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/setup_native/source/mac.po) > $${MERGEINPUT} && \
20 $(call gb_Helper_abbreviate_dirs,\
21 $(call gb_Executable_get_command,ulfex) -i $< -o $@ -m $${MERGEINPUT} -l all ) && \
22 rm -rf $${MERGEINPUT}
23 else
24 $(call gb_CustomTarget_get_workdir,setup_native/mac)/macinstall.ulf: $(SRCDIR)/setup_native/source/mac/macinstall.ulf
25 cp $< $@
26 endif
28 # vim: set noet sw=4 ts=4: