From 915c63f96325797aacc7138a4c1e9aba7e5002f4 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 23:45:12 +0400 Subject: feat: run `fc-cache` after installing fonts - Add fontconfig to build time dependencies. --- Makefile | 1 + dep.sh | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4ecdfc6..ef4c91f 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,7 @@ dmenu-install dwm-install slstatus-install st-install: font1-install font2-install: tar xf $< $(COPY) $$(basename $< .tar.gz) $(FONTDIR) + fc-cache check: @./dep.sh diff --git a/dep.sh b/dep.sh index 9346702..ff14993 100755 --- a/dep.sh +++ b/dep.sh @@ -83,10 +83,11 @@ check \ # Build dependencies check \ - cc:"c compiler is missing" \ - curl \ - ld:"linker is missing" \ - make \ + cc:"c compiler is missing" \ + curl \ + fc-cache:"font config is missing" \ + ld:"linker is missing" \ + make \ tar || retval=1 # Libraries -- cgit v1.2.3