aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fonts.src/encodings/makefile
blob: ee38090074faf37c7923900ee9daed4669cb5692 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
ifeq ($(MAKESERVER),1)
$(error Please do not specify MAKESERVER=1)
endif
load_makefile large\makefile

INC_BDF_RULES=1

DESTDIR=$(MHMAKECONF)\xorg-server\fonts\encodings
$(DESTDIR):
	if not isdir "$(DESTDIR)" mkdir /s "$(DESTDIR)"

ENCODING_FILES =		\
	adobe-dingbats.enc	\
	adobe-standard.enc	\
	adobe-symbol.enc	\
	armscii-8.enc		\
	ascii-0.enc		\
	dec-special.enc		\
	ibm-cp437.enc		\
	ibm-cp850.enc		\
	ibm-cp852.enc		\
	ibm-cp866.enc		\
	iso8859-11.enc		\
	iso8859-13.enc		\
	iso8859-16.enc		\
	iso8859-6.16.enc	\
	iso8859-6.8x.enc	\
	microsoft-cp1250.enc	\
	microsoft-cp1251.enc	\
	microsoft-cp1252.enc	\
	microsoft-cp1253.enc	\
	microsoft-cp1254.enc	\
	microsoft-cp1255.enc	\
	microsoft-cp1256.enc	\
	microsoft-cp1257.enc	\
	microsoft-cp1258.enc	\
	microsoft-win3.1.enc	\
	mulearabic-0.enc	\
	mulearabic-1.enc	\
	mulearabic-2.enc	\
	mulelao-1.enc		\
	suneu-greek.enc		\
	tcvn-0.enc		\
	tis620-2.enc		\
	viscii1.1-1.enc

COMPRESSED = $(ENCODING_FILES:%=$(DESTDIR)\%.gz)

DATA_FILES = $(COMPRESSED)

MKFONTSCALE=$(MHMAKECONF)\mkfontscale\$(OBJDIR)\mkfontscale.exe

load_makefile $(MHMAKECONF)\mkfontscale\makefile MAKESERVER=0 DEBUG=$(DEBUG)

$(DESTDIR)\encodings.dir: $(DATA_FILES) $(DESTDIR)\large\encodings.dir $(MKFONTSCALE)
	cd "$(DESTDIR)" & $(MKFONTSCALE) -b -s -l -n -r -p . -e . -e large .

all: $(DESTDIR)\encodings.dir

.PHONY: cleanthis
cleanthis:
	del -e $(DESTDIR)

clean: cleanthis