[COMMIT osv-apps master] fonts: make it work with Fedora host

1 view
Skip to first unread message

Commit Bot

unread,
May 3, 2020, 6:26:27 PM5/3/20
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

fonts: make it work with Fedora host

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/fonts/Makefile b/fonts/Makefile
--- a/fonts/Makefile
+++ b/fonts/Makefile
@@ -1,12 +1,10 @@
.PHONY: module clean

-liberation_path := $(shell find /usr/share/fonts -type d -name liberation)
-
module: usr.manifest

usr.manifest:
cp usr.manifest.skel usr.manifest
- echo '$(liberation_path)/**: $(liberation_path)/**' >> usr.manifest
+ find /usr/share/fonts -type d -name liberation\* | awk '{ printf "%s/**: %s/**\n", $$0, $$0 }' >> usr.manifest
grep -il liberation /etc/fonts/conf.d/* | awk '{ printf "%s: %s\n", $$0, $$0 }' >> usr.manifest

clean:
Reply all
Reply to author
Forward
0 new messages