add Makefile and compiled fonts
la-ninpre leobrekalini@gmail.com
Fri, 06 Nov 2020 16:05:49 +0300
4 files changed,
21 insertions(+),
0 deletions(-)
A
Makefile
@@ -0,0 +1,20 @@
+FONTNAME=Putnik +OUT_DIR=fonts +UFO_SRC=sources/$(FONTNAME).ufo +TTF=fonts/ttf/$(FONTNAME).ttf +OTF=fonts/otf/$(FONTNAME).otf + +all: ttf otf + +ttf: $(TTF) +$(TTF): $(UFO_SRC) + fontmake -u $(UFO_SRC) -o ttf --output-dir fonts/ttf/ + +otf: $(OTF) +$(OTF): $(UFO_SRC) + fontmake -u $(UFO_SRC) -o otf --output-dir fonts/otf/ + +clean: + -rm $(TTF) $(OTF) + +.PHONY: clean