libdrawtext

annotate examples/Makefile @ 50:4452a6143d12

install / uninstall targets for font2glyphmap
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 30 Oct 2015 06:26:15 +0200
parents 462bcb69de15
children
rev   line source
nuclear@4 1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
nuclear@1 2
nuclear@1 3 .PHONY: all
nuclear@1 4 all: $(fonts)
nuclear@30 5 $(MAKE) -C simple
nuclear@30 6 $(MAKE) -C unicode
nuclear@30 7 $(MAKE) -C nofreetype
nuclear@1 8
nuclear@4 9 fonts/linux-libertine.ttf:
nuclear@3 10 mkdir -p fonts
nuclear@4 11 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 12 mkdir -p linlibertine
nuclear@4 13 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 14 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 15 cp linlibertine/LinLibertine_R.ttf $@
nuclear@15 16 rm -rf linlibertine
nuclear@4 17
nuclear@4 18 fonts/sazanami-mincho.ttf:
nuclear@4 19 mkdir -p fonts
nuclear@4 20 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
nuclear@4 21 tar xjvf sazanami-20040629.tar.bz2
nuclear@4 22 rm -f sazanami-20040629.tar.bz2
nuclear@4 23 cp sazanami-20040629/sazanami-mincho.ttf $@
nuclear@15 24 rm -rf sazanami-20040629
nuclear@3 25
nuclear@3 26 fonts/klingon.ttf:
nuclear@3 27 mkdir -p fonts
nuclear@3 28 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 29 unzip -o tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 30 rm -f tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 31 cp tlh-pIqaD-US/pIqaD.ttf $@
nuclear@15 32 rm -rf tlh-pIqaD-US