fix(#2): macos find is missing -printf

This commit is contained in:
Daylin Morgan 2022-12-01 13:58:25 -06:00
parent d3df25bc75
commit 73e8520c8e

View file

@ -1,7 +1,7 @@
ARGS ?= -c ARGS ?= -c
OK_TYPES := otf ttf woff woff2 OK_TYPES := otf ttf woff woff2
NF_SRC := $(shell find src -type f) NF_SRC := $(shell find src -type f)
ML_TYPES := $(shell find MonoLisa -mindepth 1 -type d -printf "%f ") ML_TYPES := $(shell find ./MonoLisa -mindepth 1 -type d -exec basename {} \;)
UNKNOWN := $(filter-out $(OK_TYPES),$(ML_TYPES)) UNKNOWN := $(filter-out $(OK_TYPES),$(ML_TYPES))
$(if $(UNKNOWN),$(error unknown font type in ./MonoLisa: $(UNKNOWN))) $(if $(UNKNOWN),$(error unknown font type in ./MonoLisa: $(UNKNOWN)))