File: Makefile

package info (click to toggle)
fonts-lohit-taml-classical 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 608 kB
  • ctags: 1
  • sloc: xml: 54; makefile: 48
file content (53 lines) | stat: -rw-r--r-- 2,238 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
all: ttf woff eot ttf-dist sfd-dist web-dist

version:= 2.5.4

ttf: ttf-bin
	@echo "----------Generating ttf from sfd file----------"
	./generate.pe *.sfd
	@echo "----------Finished generating ttf file----------"
	@echo " "

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

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

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

sfd-dist: dist
	mkdir lohit-tamil-classical-$(version)
	cp -p COPYRIGHT OFL.txt README  AUTHORS generate*.pe Makefile ChangeLog 66-lohit-tamil-classical.conf Lohit-Tamil-Classical.sfd io.pagure.lohit.tamil.classical.font.metainfo.xml lohit-tamil-classical-$(version)
	rm -rf lohit-tamil-classical-$(version)/.git
	rm -rf lohit-tamil-classical-$(version)/*.ttf
	tar -cf lohit-tamil-classical-$(version).tar lohit-tamil-classical-$(version)
	gzip lohit-tamil-classical-$(version).tar
	rm -rf lohit-tamil-classical-$(version)

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

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

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