Blame Makefile

Packit 2e2b2b
all: sfd-dist ttf woff eot ttf-dist web-dist
Packit 2e2b2b
version:= 2.94.2
Packit 2e2b2b
Packit 2e2b2b
test: test-ttf
Packit 2e2b2b
	@echo "----------Testing actual-output with expected-output----------"
Packit 2e2b2b
	fontforge -lang=py -script auto_test.py std-test-out.txt Lohit-Marathi.ttf
Packit 2e2b2b
Packit 2e2b2b
ttf: ttf-bin
Packit 2e2b2b
	@echo "----------Generating ttf from sfd file----------"
Packit 2e2b2b
	fontforge -lang=py -script apply_featurefile.py Lohit-Marathi.sfd Lohit-Marathi.fea
Packit 2e2b2b
	./generate.pe *.sfd
Packit 2e2b2b
	@echo "----------Finished generating ttf file----------"
Packit 2e2b2b
	@echo " "
Packit 2e2b2b
Packit 2e2b2b
woff: woff-bin
Packit 2e2b2b
	@echo "----------Generating woff from ttf file----------"
Packit 2e2b2b
	sfntly -w Lohit-Marathi.ttf Lohit-Marathi.woff
Packit 2e2b2b
	@echo "----------Finished generating woff file----------"
Packit 2e2b2b
	@echo " "
Packit 2e2b2b
Packit 2e2b2b
eot: eot-bin
Packit 2e2b2b
	@echo "----------Generating eot from ttf file----------"
Packit 2e2b2b
	sfntly -e -x Lohit-Marathi.ttf Lohit-Marathi.eot
Packit 2e2b2b
	@echo "----------Finished generating eot file----------"
Packit 2e2b2b
	@echo " "
Packit 2e2b2b
Packit 2e2b2b
ttf-dist: dist
Packit 2e2b2b
	mkdir lohit-marathi-ttf-$(version)
Packit 2e2b2b
	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)
Packit 2e2b2b
	rm -rf lohit-marathi-ttf-$(version)/.git
Packit 2e2b2b
	tar -cf lohit-marathi-ttf-$(version).tar lohit-marathi-ttf-$(version)
Packit 2e2b2b
	gzip lohit-marathi-ttf-$(version).tar
Packit 2e2b2b
	rm -rf lohit-marathi-ttf-$(version)
Packit 2e2b2b
Packit 2e2b2b
sfd-dist: dist
Packit 2e2b2b
	mkdir lohit-marathi-$(version)
Packit 2e2b2b
	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)
Packit 2e2b2b
	rm -rf lohit-marathi-$(version)/.git
Packit 2e2b2b
	rm -rf lohit-marathi-$(version)/*.ttf
Packit 2e2b2b
	tar -cf lohit-marathi-$(version).tar lohit-marathi-$(version)
Packit 2e2b2b
	gzip lohit-marathi-$(version).tar
Packit 2e2b2b
	rm -rf lohit-marathi-$(version)
Packit 2e2b2b
Packit 2e2b2b
web-dist: webdist
Packit 2e2b2b
	mkdir lohit-marathi-web-$(version)
Packit 2e2b2b
	cp -p COPYRIGHT OFL.txt README  test-marathi.txt AUTHORS  ChangeLog  Lohit-Marathi.woff  Lohit-Marathi.eot lohit-marathi-web-$(version)
Packit 2e2b2b
	rm -rf lohit-marathi-web-$(version)/.git
Packit 2e2b2b
	tar -cf lohit-marathi-web-$(version).tar lohit-marathi-web-$(version)
Packit 2e2b2b
	gzip lohit-marathi-web-$(version).tar
Packit 2e2b2b
	rm -rf lohit-marathi-web-$(version)
Packit 2e2b2b
Packit 2e2b2b
clean: cleanall
Packit 2e2b2b
	rm -f *.ttf *.eot *.woff
Packit 2e2b2b
	rm -rf *.tar.gz
Packit 2e2b2b
	rm -rf lohit-marathi*
Packit 2e2b2b
Packit 2e2b2b
.PHONY: ttf-bin woff-bin eot-bin webdist dist cleanall version test-ttf