aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fonts.src/OTF/makefile
blob: e15018a64f1ee128dbd0d289d8fff45659aff71f (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
ifeq ($(MAKESERVER),1)
$(error Please do not specify MAKESERVER=1)
endif

INC_BDF_RULES=1

DESTDIR=$(MHMAKECONF)\xorg-server\fonts\OTF

FONT_FILES = \
	SyrCOMAdiabene.otf \
	SyrCOMAntioch.otf \
	SyrCOMBatnanBold.otf \
	SyrCOMBatnan.otf \
	SyrCOMCtesiphon.otf \
	SyrCOMEdessa.otf \
	SyrCOMJerusalemBold.otf \
	SyrCOMJerusalemItalic.otf \
	SyrCOMJerusalem.otf \
	SyrCOMJerusalemOutline.otf \
	SyrCOMKharput.otf \
	SyrCOMMalankara.otf \
	SyrCOMMardinBold.otf \
	SyrCOMMardin.otf \
	SyrCOMMidyat.otf \
	SyrCOMNisibin.otf \
	SyrCOMNisibinOutline.otf \
	SyrCOMQenNeshrin.otf \
	SyrCOMTalada.otf \
	SyrCOMTurAbdin.otf \
	SyrCOMUrhoyBold.otf \
	SyrCOMUrhoy.otf

fontdir = .
font_DATA = $(FONT_FILES:%=$(DESTDIR)\%)

all: $(DESTDIR) $(DESTDIR)\fonts.scale $(DESTDIR)\fonts.dir

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

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

$(DESTDIR)\fonts.scale: $(font_DATA) $(MKFONTSCALE)
	del -e $@
	cd $(DESTDIR) & $(MKFONTSCALE) .

$(DESTDIR)\fonts.dir: $(font_DATA) $(MKFONTSCALE)
	del -e $@
	cd $(DESTDIR) & $(MKFONTSCALE) -b -s -l .
#	$(FCCACHE) $(DESTDIR)

$(DESTDIR)\%.otf: %.otf
	copy $< $@