File: rules

package info (click to toggle)
fonts-alegreya-sans 2.008-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,688 kB
  • sloc: python: 44; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@

instance_otf:
	fontmake -i -o otf -g sources/Alegreya_Sans.glyphs
	fontmake -i -o otf -g sources/Alegreya_Sans-Italic.glyphs

override_dh_auto_build: instance_otf
	for otf in $(wildcard instance_otf/*.otf) ; \
	do \
		sfnt2woff-zopfli $${otf} ; \
		woff2_compress $${otf} ; \
	done

override_dh_clean:
	$(RM) -rf instance_ufo/ master_ufo/
	$(RM) -rf instance_otf/ master_otf/
	dh_clean