File: rules

package info (click to toggle)
comic-neue 2.51-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 24,960 kB
  • sloc: makefile: 17
file content (21 lines) | stat: -rwxr-xr-x 409 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
#!/usr/bin/make -f
%:
	dh $@

instance_otf:
	for glyph in $(wildcard Sources/Glyphs/*.glyphs) ; \
	do \
		fontmake -i -o otf -g $${glyph} ; \
	done

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