]>
Commit | Line | Data |
---|---|---|
d23a2a6d MALF |
1 | XCOMM $XFree86$ |
2 | ||
24330d27 KP |
3 | #define IHaveSubdirs |
4 | #define PassCDebugFlags | |
5 | ||
6 | LINTSUBDIRS=src fc-cache fc-list | |
7 | ||
8 | SUBDIRS=fontconfig $(LINTSUBDIRS) | |
9 | ||
10 | #ifndef FontconfigDir | |
11 | #define FontconfigDir /etc/fonts | |
12 | #endif | |
13 | ||
14 | FONTCONFIGDIR=FontconfigDir | |
15 | ||
16 | MakeSubdirs($(SUBDIRS)) | |
17 | DependSubdirs($(SUBDIRS)) | |
18 | MakeLintLibSubdirs($(LINTSUBDIRS)) | |
19 | MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln) | |
20 | ||
21 | InstallNonExecFileNoClobber(fonts.conf,$(FONTCONFIGDIR)) | |
22 | InstallNonExecFileNoClobber(fonts.dtd,$(FONTCONFIGDIR)) | |
23 | ||
24 | all:: fonts.conf | |
25 | ||
26 | fonts.conf: fonts.conf.in | |
d23a2a6d | 27 | RemoveFile($@) |
24330d27 | 28 | sh ./setfontdirs |
d23a2a6d MALF |
29 | |
30 | clean:: | |
31 | RemoveFile(fonts.conf) |