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
))
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
)
22 $(gb_CustomTarget_workdir
)/extras
/fonts
/opens___.ttf
: \
23 $(TARFILE_LOCATION
)/$(OPENSYMBOL_TTF
)