libdrawtext
view examples/Makefile @ 29:03699346d59f
fixed the example makefiles
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 15 Apr 2014 05:49:05 +0300 |
parents | 17fed026b24b |
children | 828e29b08493 |
line source
1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
3 .PHONY: all
4 all: $(fonts)
5 cd simple; $(MAKE)
6 cd unicode; $(MAKE)
8 fonts/linux-libertine.ttf:
9 mkdir -p fonts
10 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
11 mkdir -p linlibertine
12 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
13 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
14 cp linlibertine/LinLibertine_R.ttf $@
15 rm -rf linlibertine
17 fonts/sazanami-mincho.ttf:
18 mkdir -p fonts
19 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
20 tar xjvf sazanami-20040629.tar.bz2
21 rm -f sazanami-20040629.tar.bz2
22 cp sazanami-20040629/sazanami-mincho.ttf $@
23 rm -rf sazanami-20040629
25 fonts/klingon.ttf:
26 mkdir -p fonts
27 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
28 unzip -o tlh_2D00_pIqaD_2D00_US.zip
29 rm -f tlh_2D00_pIqaD_2D00_US.zip
30 cp tlh-pIqaD-US/pIqaD.ttf $@
31 rm -rf tlh-pIqaD-US