1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- 2# 3# This file is part of the LibreOffice project. 4# 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/. 8# 9 10$(eval $(call gb_CustomTarget_CustomTarget,extras/fonts)) 11 12$(eval $(call gb_CustomTarget_register_targets,extras/fonts,opens___.ttf)) 13 14ifneq (,$(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)' $< $@ 19else 20$(call gb_CustomTarget_get_workdir,extras/fonts)/opens___.ttf : \ 21 $(TARFILE_LOCATION)/$(OPENSYMBOL_TTF) 22 cp $< $@ 23endif 24