Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extras / CustomTarget_opensymbol.mk
bloba27718feb3770e10209879a96bd4c4628ca297fb
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 $(call gb_CustomTarget_get_workdir,extras/fonts)/opens___.ttf : \
16 $(SRCDIR)/extras/source/truetype/symbol/OpenSymbol.sfd
17 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),FNT,1)
18 $(FONTFORGE) -lang=ff -c 'Open($$1); Generate($$2)' $< $@
19 else
20 $(call gb_CustomTarget_get_workdir,extras/fonts)/opens___.ttf : \
21 $(TARFILE_LOCATION)/$(OPENSYMBOL_TTF)
22 cp $< $@
23 endif