Debian Codegraph @

Makefile

raw
1 all: sfd-dist ttf woff eot ttf-dist web-dist
2 version:= 2.94.2
3
4 test: test-ttf
5 @echo "----------Testing actual-output with expected-output----------"
6 fontforge -lang=py -script auto_test.py std-test-out.txt Lohit-Marathi.ttf
7
8 ttf: ttf-bin
9 @echo "----------Generating ttf from sfd file----------"
10 fontforge -lang=py -script apply_featurefile.py Lohit-Marathi.sfd Lohit-Marathi.fea
11 ./generate.pe *.sfd
12 @echo "----------Finished generating ttf file----------"
13 @echo " "
14
15 woff: woff-bin
16 @echo "----------Generating woff from ttf file----------"
17 sfntly -w Lohit-Marathi.ttf Lohit-Marathi.woff
18 @echo "----------Finished generating woff file----------"
19 @echo " "
20
21 eot: eot-bin
22 @echo "----------Generating eot from ttf file----------"
23 sfntly -e -x Lohit-Marathi.ttf Lohit-Marathi.eot
24 @echo "----------Finished generating eot file----------"
25 @echo " "
26
27 ttf-dist: dist
28 mkdir lohit-marathi-ttf-$(version)
29 cp -p COPYRIGHT OFL.txt README test-marathi.txt AUTHORS ChangeLog 65-0-lohit-marathi.conf Lohit-Marathi.ttf io.pagure.lohit.marathi.font.metainfo.xml lohit-marathi-ttf-$(version)
30 rm -rf lohit-marathi-ttf-$(version)/.git
31 tar -cf lohit-marathi-ttf-$(version).tar lohit-marathi-ttf-$(version)
32 gzip lohit-marathi-ttf-$(version).tar
33 rm -rf lohit-marathi-ttf-$(version)
34
35 sfd-dist: dist
36 mkdir lohit-marathi-$(version)
37 cp -p COPYRIGHT OFL.txt README test-marathi.txt AUTHORS generate*.pe *.py *.fea Makefile ChangeLog 65-0-lohit-marathi.conf std-test-out.txt Lohit-Marathi.sfd io.pagure.lohit.marathi.font.metainfo.xml lohit-marathi-$(version)
38 rm -rf lohit-marathi-$(version)/.git
39 rm -rf lohit-marathi-$(version)/*.ttf
40 tar -cf lohit-marathi-$(version).tar lohit-marathi-$(version)
41 gzip lohit-marathi-$(version).tar
42 rm -rf lohit-marathi-$(version)
43
44 web-dist: webdist
45 mkdir lohit-marathi-web-$(version)
46 cp -p COPYRIGHT OFL.txt README test-marathi.txt AUTHORS ChangeLog Lohit-Marathi.woff Lohit-Marathi.eot lohit-marathi-web-$(version)
47 rm -rf lohit-marathi-web-$(version)/.git
48 tar -cf lohit-marathi-web-$(version).tar lohit-marathi-web-$(version)
49 gzip lohit-marathi-web-$(version).tar
50 rm -rf lohit-marathi-web-$(version)
51
52 clean: cleanall
53 rm -f *.ttf *.eot *.woff
54 rm -rf *.tar.gz
55 rm -rf lohit-marathi*
56
57 .PHONY: ttf-bin woff-bin eot-bin webdist dist cleanall version test-ttf