all repos — Putnik @ 68652958a5c45ec69e5d04fa0b586ad0051d3942

non-professional cyrillic display font

Makefile (view raw)

 1FONT_NAME=Putnik
 2FONT_VERSION=$(shell git describe --abbrev=4)
 3RELEASE=$(FONT_NAME)-$(FONT_VERSION)
 4OUT_DIR=fonts
 5UFO_SRC=sources/$(FONT_NAME).ufo
 6TTF=fonts/ttf/$(FONT_NAME).ttf
 7OTF=fonts/otf/$(FONT_NAME).otf
 8
 9all: ttf otf
10
11ttf: $(TTF)
12$(TTF): $(UFO_SRC)
13	fontmake -u $(UFO_SRC) -o ttf --output-dir fonts/ttf/
14
15otf: $(OTF)
16$(OTF): $(UFO_SRC)
17	fontmake -u $(UFO_SRC) -o otf --output-dir fonts/otf/
18
19release: release-tar release-zip
20
21release-tar: ttf otf
22	tar -cvf $(RELEASE).tar.gz $(OTF) $(TTF) LICENSE
23
24release-zip: ttf otf
25	zip -j $(RELEASE).zip $(OTF) $(TTF) LICENSE
26
27clean:
28	-rm $(TTF) $(OTF) $(RELEASE).*
29
30.PHONY: all release clean