bump product version to 4.1.6.2
[LibreOffice.git] / crashrep / CustomTarget_crashrep_res.mk
blobbe6c68899211fbacde2f3c42d9d22c0a14257ded
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,crashrep/source/win32))
12 $(eval $(call gb_CustomTarget_register_targets,crashrep/source/win32, \
13 crashrep.ulf \
14 crashrep_impl.rc \
17 $(call gb_CustomTarget_get_workdir,crashrep/source/win32)/crashrep_impl.rc : \
18 $(call gb_CustomTarget_get_workdir,crashrep/source/win32)/crashrep.ulf \
19 $(SRCDIR)/crashrep/source/win32/rcfooter.txt \
20 $(SRCDIR)/crashrep/source/win32/rcheader.txt \
21 $(SRCDIR)/crashrep/source/win32/rctemplate.txt \
22 $(call gb_Executable_get_runtime_dependencies,lngconvex)
24 #BRAND_BASE_DIR=$(call gb_Helper_make_url,$(OUTDIR)/unittest/install)
25 $(call gb_CustomTarget_get_workdir,crashrep/source/win32)/crashrep_impl.rc :
26 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LCX,1)
27 $(call gb_Helper_abbreviate_dirs,\
28 cd $(SRCDIR)/crashrep/source/win32 && \
29 $(call gb_Executable_get_command,lngconvex) \
30 -ulf $< \
31 -rc $@ \
32 -rct rctemplate.txt \
33 -rch rcheader.txt \
34 -rcf rcfooter.txt)
36 $(call gb_CustomTarget_get_workdir,crashrep/source/win32)/crashrep.ulf : \
37 $(SRCDIR)/crashrep/source/win32/crashrep.ulf \
38 $(call gb_Executable_get_runtime_dependencies,ulfex)
39 MERGEINPUT=`$(gb_MKTEMP)` && \
40 echo $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(patsubst %/,%,$(subst $(SRCDIR)/,,$(dir $<))).po) > $${MERGEINPUT} && \
41 $(call gb_Executable_get_command,ulfex) -i $< -o $@ -m $${MERGEINPUT} -l all && \
42 rm -f $${MERGEINPUT}
44 # vim: set shiftwidth=4 tabstop=4 noexpandtab: