1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
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
,postprocess
/fontconfig
))
12 $(gb_CustomTarget_workdir
)/postprocess
/fontconfig
/fc_local.conf
: \
13 $(SRCDIR
)/extras
/source
/truetype
/symbol
/fc_local.snippet \
14 $(SRCDIR
)/postprocess
/CustomTarget_fontconfig.mk \
15 |
$(gb_CustomTarget_workdir
)/postprocess
/fontconfig
/.
dir
17 ifneq ($(filter MORE_FONTS
,$(BUILD_TYPE
)),)
18 $(gb_CustomTarget_workdir
)/postprocess
/fontconfig
/fc_local.conf
: \
19 $(SRCDIR
)/external
/more_fonts
/fc_local.snippet
22 $(gb_CustomTarget_workdir
)/postprocess
/fontconfig
/fc_local.conf
:
23 printf
'<?xml version="1.0"?>\n<!DOCTYPE fontconfig SYSTEM "/etc/fonts/conf.d/fonts.dtd">\n<fontconfig>\n' >$@
24 cat
$(SRCDIR
)/extras
/source
/truetype
/symbol
/fc_local.snippet
>>$@
25 ifneq ($(filter MORE_FONTS
,$(BUILD_TYPE
)),)
26 cat
$(SRCDIR
)/external
/more_fonts
/fc_local.snippet
>>$@
28 printf
'</fontconfig>\n' >>$@
30 # vim: set noet sw=4 ts=4: