File: Makefile

package info (click to toggle)
fonts-homecomputer 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 34,848 kB
  • sloc: python: 150; makefile: 22
file content (22 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FONTMAKE_OPTIONS=-o variable --keep-overlaps --keep-direction

all: sixtyfour workbench fix-fonts

update-designspace:
	# Export a designspace + UFOs from the Glyphs file
	fontmake -g production/SixtyfourC.glyphs $(FONTMAKE_OPTIONS) --designspace-path master_ufo/Sixtyfour.designspace --output-path temp_out/Sixtyfour.ttf
	fontmake -g production/WorkbenchC.glyphs $(FONTMAKE_OPTIONS) --designspace-path master_ufo/Workbench.designspace --output-path temp_out/Workbench.ttf
	rm -f temp_out/Sixtyfour.ttf
	rm -f temp_out/Workbench.ttf

sixtyfour:
	fontmake -m master_ufo/Sixtyfour.designspace $(FONTMAKE_OPTIONS) --output-path temp_out/Sixtyfour-VF.ttf

workbench:
	fontmake -m master_ufo/Workbench.designspace $(FONTMAKE_OPTIONS) --output-path temp_out/Workbench-VF.ttf

fix-fonts:
	python3 scripts/fix_varfont.py

clean:
	rm -f temp_out/*.ttf