Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / postprocess / CustomTarget_fontconfig.mk
blob72ff3f3cf1b0d01f55ddaa00a04c4a099b98f735
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 $(call gb_CustomTarget_get_workdir,postprocess/fontconfig)/fc_local.conf: \
13 $(SRCDIR)/extras/source/truetype/symbol/fc_local.snippet \
14 $(SRCDIR)/postprocess/CustomTarget_fontconfig.mk \
15 | $(call gb_CustomTarget_get_workdir,postprocess/fontconfig)/.dir
17 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
18 $(call gb_CustomTarget_get_workdir,postprocess/fontconfig)/fc_local.conf: \
19 $(SRCDIR)/external/more_fonts/fc_local.snippet
20 endif
22 $(call gb_CustomTarget_get_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 >>$@
27 endif
28 printf '</fontconfig>\n' >>$@
30 # vim: set noet sw=4 ts=4: