diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-03-03 11:42:25 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-03-03 16:52:17 +0100 |
commit | b5f113dd49eea4750498b893c8e3b2939775f9b2 (patch) | |
tree | 866f431dc184e5aabd27b270032ccc667b45d7e6 /rules/xorg-font-arphic-uming.make | |
parent | a41f88e0df80e709e583b2470ee312f685510d3c (diff) | |
download | ptxdist-b5f113dd49eea4750498b893c8e3b2939775f9b2.tar.gz ptxdist-b5f113dd49eea4750498b893c8e3b2939775f9b2.tar.xz |
xorg-font-arphic-uming: cleanup
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-font-arphic-uming.make')
-rw-r--r-- | rules/xorg-font-arphic-uming.make | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/rules/xorg-font-arphic-uming.make b/rules/xorg-font-arphic-uming.make index 1cf310f5b..bdbb522d1 100644 --- a/rules/xorg-font-arphic-uming.make +++ b/rules/xorg-font-arphic-uming.make @@ -30,18 +30,6 @@ $(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/xorg-font-arphic-uming.ta endif # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -$(STATEDIR)/xorg-font-arphic-uming.extract: - @$(call targetinfo) - @$(call clean, $(XORG_FONT_ARPHIC_UMING_DIR)) - @mkdir -p $(XORG_FONT_ARPHIC_UMING_DIR) - @$(call extract, XORG_FONT_ARPHIC_UMING, $(XORG_FONT_ARPHIC_UMING_DIR)) - @$(call patchin, XORG_FONT_ARPHIC_UMING, $(XORG_FONT_ARPHIC_UMING_DIR)) - @$(call touch) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- @@ -70,13 +58,11 @@ $(STATEDIR)/xorg-font-arphic-uming.install: $(STATEDIR)/xorg-font-arphic-uming.targetinstall: @$(call targetinfo) - @mkdir -p $(XORG_FONTS_DIR_INSTALL)/truetype - @find $(XORG_FONT_ARPHIC_UMING_DIR) \ - -name "*.ttc" \ - | \ + -name "*.ttc" | \ while read file; do \ - install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/truetype; \ + install -D -v -m 644 $${file} \ + $(XORG_FONTS_DIR_INSTALL)/truetype/$$(basename $${file}); \ done @$(call touch) |