diff options
author | Florian Bäuerle <florian.baeuerle@allegion.com> | 2018-09-18 16:14:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-27 10:28:56 +0200 |
commit | 27277ce4ed43876ea4cb68b9ba2f9ede0ed0a4aa (patch) | |
tree | 1bcf9e356f453d21a306481190e05602d3e2ab53 /rules | |
parent | 98de0f7d9c65d12d1f59be05c52bb419f05119e7 (diff) | |
download | ptxdist-27277ce4ed43876ea4cb68b9ba2f9ede0ed0a4aa.tar.gz ptxdist-27277ce4ed43876ea4cb68b9ba2f9ede0ed0a4aa.tar.xz |
xorg-font-ttf-lohit-malayalam: separate from xorg-fonts
Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/xorg-font-ttf-lohit-malayalam.make | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/rules/xorg-font-ttf-lohit-malayalam.make b/rules/xorg-font-ttf-lohit-malayalam.make index 331cc0939..35b385258 100644 --- a/rules/xorg-font-ttf-lohit-malayalam.make +++ b/rules/xorg-font-ttf-lohit-malayalam.make @@ -1,6 +1,7 @@ # -*-makefile-*- # # Copyright (C) 2015 by Michael Olbrich <m.olbrich@pengutronix.de> +# (C) 2018 by Florian Bäuerle <florian.baeuerle@allegion.com> # # See CREDITS for details about who has contributed to this project. # @@ -27,15 +28,8 @@ XORG_FONT_TTF_LOHIT_MALAYALAM_LICENSE := OFL-1.1 XORG_FONT_TTF_LOHIT_MALAYALAM_LICENSE_FILES := \ file://OFL.txt;md5=7dfa0a236dc535ad2d2548e6170c4402 -ifdef PTXCONF_XORG_FONT_TTF_LOHIT_MALAYALAM -$(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/xorg-font-ttf-lohit-malayalam.targetinstall -endif - -# ---------------------------------------------------------------------------- -# Prepare -# ---------------------------------------------------------------------------- - XORG_FONT_TTF_LOHIT_MALAYALAM_CONF_TOOL := NO +XORG_FONT_TTF_LOHIT_MALAYALAM_FONTDIR := $(XORG_FONTDIR)/truetype/lohit-malayalam # ---------------------------------------------------------------------------- # Compile @@ -51,6 +45,10 @@ $(STATEDIR)/xorg-font-ttf-lohit-malayalam.compile: $(STATEDIR)/xorg-font-ttf-lohit-malayalam.install: @$(call targetinfo) + @$(call world/install-fonts,XORG_FONT_TTF_LOHIT_MALAYALAM,*.ttf) + @mkdir -p $(XORG_FONT_TTF_LOHIT_MALAYALAM_PKGDIR)/etc/fonts/conf.d + @install -m 644 $(XORG_FONT_TTF_LOHIT_MALAYALAM_DIR)/67-lohit-malayalam.conf \ + $(XORG_FONT_TTF_LOHIT_MALAYALAM_PKGDIR)/etc/fonts/conf.d @$(call touch) # ---------------------------------------------------------------------------- @@ -59,25 +57,14 @@ $(STATEDIR)/xorg-font-ttf-lohit-malayalam.install: $(STATEDIR)/xorg-font-ttf-lohit-malayalam.targetinstall: @$(call targetinfo) - - @mkdir -p $(XORG_FONTS_DIR_INSTALL)/truetype - - @find $(XORG_FONT_TTF_LOHIT_MALAYALAM_DIR) \ - -name "*.ttf" \ - | \ - while read file; do \ - install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/truetype; \ - done - @$(call install_init, xorg-font-ttf-lohit-malayalam) @$(call install_fixup, xorg-font-ttf-lohit-malayalam,PRIORITY,optional) @$(call install_fixup, xorg-font-ttf-lohit-malayalam,SECTION,base) @$(call install_fixup, xorg-font-ttf-lohit-malayalam,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") @$(call install_fixup, xorg-font-ttf-lohit-malayalam,DESCRIPTION,missing) - @$(call install_copy, xorg-font-ttf-lohit-malayalam, 0, 0, 644, \ - $(XORG_FONT_TTF_LOHIT_MALAYALAM_DIR)/67-lohit-malayalam.conf, \ - /etc/fonts/conf.d/67-lohit-malayalam.conf) + @$(call install_tree, xorg-font-ttf-lohit-malayalam, 0, 0, -, /etc) + @$(call install_tree, xorg-font-ttf-lohit-malayalam, 0, 0, -, /usr) @$(call install_finish, xorg-font-ttf-lohit-malayalam) @$(call touch) |