File: Makefile

package info (click to toggle)
fonts-lohit-gujr 2.92.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 624 kB
  • sloc: xml: 54; makefile: 51; python: 39
file content (54 lines) | stat: -rw-r--r-- 2,146 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
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
all: sfd-dist ttf woff eot ttf-dist web-dist

version:= 2.92.4

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

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

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

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

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

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

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

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