summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xdep.sh9
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