make sure to not divide by zero when computing miter limit
[LibreOffice.git] / shell / CustomTarget_shlxthdl_res.mk
blob2780958cf0e2305d88fe3a249dfcad7ba64dec77
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,shell/source/win32/shlxthandler/res))
12 $(eval $(call gb_CustomTarget_register_targets,shell/source/win32/shlxthandler/res,\
13 shlxthdl.ulf \
14 shlxthdl_impl.rc \
17 $(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl_impl.rc : \
18 $(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl.ulf \
19 $(SRCDIR)/shell/source/win32/shlxthandler/res/rcfooter.txt \
20 $(SRCDIR)/shell/source/win32/shlxthandler/res/rcheader.txt \
21 $(SRCDIR)/shell/source/win32/shlxthandler/res/rctmpl.txt \
22 $(call gb_Executable_get_runtime_dependencies,lngconvex)
23 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LCX,1)
24 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),LCX)
25 $(call gb_Helper_abbreviate_dirs,\
26 cd $(SRCDIR)/shell/source/win32/shlxthandler/res && \
27 BRAND_BASE_DIR=$(call gb_Helper_make_url,$(INSTROOT)) \
28 $(call gb_Executable_get_command,lngconvex) \
29 -ulf $< \
30 -rc $@ \
31 -rct rctmpl.txt \
32 -rch rcheader.txt \
33 -rcf rcfooter.txt)
34 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),LCX)
36 $(eval $(call gb_CustomTarget_ulfex_rule,\
37 $(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl.ulf,\
38 $(SRCDIR)/shell/source/win32/shlxthandler/res/shlxthdl.ulf,\
39 $(foreach lang,$(gb_TRANS_LANGS),\
40 $(gb_POLOCATION)/$(lang)/shell/source/win32/shlxthandler/res.po)))
42 # vim: set shiftwidth=4 tabstop=4 noexpandtab: