1
0
Fork 0
mirror of https://github.com/adobe-fonts/source-sans.git synced 2024-12-26 14:16:03 +01:00
adobe-source-sans/Makefile
2023-03-25 16:13:46 +11:00

19 lines
470 B
Makefile
Executable file

#!/usr/bin/make
# -*- indent-tabs-mode: t; -*-
# by Al Nikolov <root@toor.fi.eu.org>
dnames = $(wildcard $(addsuffix /Instances/*,Upright Italic))
fnames = $(addsuffix .otf,$(addprefix /SourceSans3-,$(notdir $(dnames))))
wholenames = $(join $(dnames),$(fnames))
out_pat = -name \*.[ot]tf
all: $(wholenames)
clean:
find $(out_pat) | xargs ${RM}
.PHONY: all clean
.SECONDEXPANSION:
%.otf: $$(shell find $$(@D) ! $(out_pat))
cd $(@D) && makeotf -r -gs -omitMacNames