Update git submodules
[LibreOffice.git] / extras / CustomTarget_opensymbol.mk
blobb726dc7cc2bfaa7408781924e2a317670aa5335a
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,extras/fonts))
12 $(eval $(call gb_CustomTarget_register_targets,extras/fonts,opens___.ttf))
14 ifneq (,$(FONTFORGE))
15 $(gb_CustomTarget_workdir)/extras/fonts/opens___.ttf : \
16 $(SRCDIR)/extras/source/truetype/symbol/OpenSymbol.sfd
17 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),FNT,1)
18 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),FNT)
19 $(FONTFORGE) -lang=ff -c 'Open($$1); Generate($$2)' $< $@
20 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),FNT)
21 else
22 $(gb_CustomTarget_workdir)/extras/fonts/opens___.ttf : \
23 $(TARFILE_LOCATION)/$(OPENSYMBOL_TTF)
24 cp $< $@
25 endif