File: Makefile

package info (click to toggle)
fonts-lohit-beng-assamese 2.91.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,132 kB
  • ctags: 5
  • sloc: makefile: 54; xml: 54; python: 39
file content (57 lines) | stat: -rw-r--r-- 2,365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
all: sfd-dist ttf woff eot ttf-dist web-dist  
version:= 2.91.5

test: test-ttf
	@echo "----------Testing actual-output with expected-output----------"
	fontforge -lang=py -script auto_test.py std-test-out.txt Lohit-Assamese.ttf

ttf: ttf-bin
	@echo "----------Generating ttf from sfd file----------"
	fontforge -lang=py -script apply_featurefile.py Lohit-Assamese.sfd Lohit-Assamese.fea
	./generate.pe *.sfd
	@echo "----------Finished generating ttf file----------"
	@echo " "

woff: woff-bin
	@echo "----------Generating woff from ttf file----------"
	sfntly -w Lohit-Assamese.ttf Lohit-Assamese.woff
	@echo "----------Finished generating woff file----------"
	@echo " "

eot: eot-bin
	@echo "----------Generating eot from ttf file----------"
	sfntly -e -x Lohit-Assamese.ttf Lohit-Assamese.eot
	@echo "----------Finished generating eot file----------"
	@echo " "

ttf-dist: dist
	mkdir lohit-assamese-ttf-$(version)
	cp -p COPYRIGHT OFL.txt test-assamese.txt README  AUTHORS ChangeLog 66-lohit-assamese.conf Lohit-Assamese.ttf io.pagure.lohit.assamese.font.metainfo.xml lohit-assamese-ttf-$(version)
	rm -rf lohit-assamese-ttf-$(version)/.git
	tar -cf lohit-assamese-ttf-$(version).tar lohit-assamese-ttf-$(version)
	gzip lohit-assamese-ttf-$(version).tar
	rm -rf lohit-assamese-ttf-$(version)

sfd-dist: dist
	mkdir lohit-assamese-$(version)
	cp -p COPYRIGHT OFL.txt test-assamese.txt README  AUTHORS generate*.pe apply_featurefile.py auto_test.py *.fea Makefile ChangeLog 66-lohit-assamese.conf Lohit-Assamese.sfd std-test-out.txt io.pagure.lohit.assamese.font.metainfo.xml lohit-assamese-$(version)
	rm -rf lohit-assamese-$(version)/.git
	rm -rf lohit-assamese-$(version)/*.ttf
	tar -cf lohit-assamese-$(version).tar lohit-assamese-$(version)
	gzip lohit-assamese-$(version).tar
	rm -rf lohit-assamese-$(version)

web-dist: webdist
	mkdir lohit-assamese-web-$(version)
	cp -p COPYRIGHT OFL.txt test-assamese.txt README  AUTHORS ChangeLog Lohit-Assamese.woff  Lohit-Assamese.eot lohit-assamese-web-$(version)
	rm -rf lohit-assamese-web-$(version)/.git
	tar -cf lohit-assamese-web-$(version).tar lohit-assamese-web-$(version)
	gzip lohit-assamese-web-$(version).tar
	rm -rf lohit-assamese-web-$(version)

clean: cleanall
	rm -f *.ttf *.eot *.woff
	rm -rf *.tar.gz
	rm -rf lohit-assamese*

.PHONY: ttf-bin woff-bin eot-bin webdist dist cleanall version test-ttf