Makefile.am revision b35cf2c0
1#  Copyright 2005 Red Hat, Inc.
2#
3#  Permission to use, copy, modify, distribute, and sell this software
4#  and its documentation for any purpose is hereby granted without
5#  fee, provided that the above copyright notice appear in all copies
6#  and that both that copyright notice and this permission notice
7#  appear in supporting documentation, and that the name of Red Hat
8#  not be used in advertising or publicity pertaining to distribution
9#  of the software without specific, written prior permission.  Red
10#  Hat makes no representations about the suitability of this software
11#  for any purpose.  It is provided "as is" without express or implied
12#  warranty.
13#
14#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16#  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
18#  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
19#  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20#  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
22FONT_FILES = \
23	crox1cb \
24	crox1c \
25	crox1cbo \
26	crox1co \
27	crox1hb \
28	crox1h \
29	crox1hbo \
30	crox1ho \
31	crox1tb \
32	crox1t \
33	crox1tbo \
34	crox1to \
35	crox2cb \
36	crox2c \
37	crox2cbo \
38	crox2co \
39	crox2hb \
40	crox2h \
41	crox2hbo \
42	crox2ho \
43	crox2tb \
44	crox2t \
45	crox2tbo \
46	crox2to \
47	crox3cb \
48	crox3c \
49	crox3cbo \
50	crox3co \
51	crox3hb \
52	crox3h \
53	crox3hbo \
54	crox3ho \
55	crox3tb \
56	crox3t \
57	crox3tbo \
58	crox3to \
59	crox4hb \
60	crox4h \
61	crox4hbo \
62	crox4ho \
63	crox4tb \
64	crox4t \
65	crox4tbo \
66	crox4to \
67	crox5hb \
68	crox5h \
69	crox5hbo \
70	crox5ho \
71	crox5tb \
72	crox5t \
73	crox5tbo \
74	crox5to \
75	crox6hb \
76	crox6h \
77	crox6hbo \
78	crox6ho \
79	crox6tb \
80	crox6t \
81	crox6tbo \
82	crox6to \
83	koi10x16b \
84	koi10x20 \
85	koi6x10 \
86	koinil2
87
88BDF_FILES = $(FONT_FILES:%=%.bdf)
89PCF_FILES = $(FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
90
91SUFFIXES = .bdf .pcf$(COMPRESS_SUFFIX)
92
93.bdf.pcf$(COMPRESS_SUFFIX):
94	@rm -f $@
95	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) $(COMPRESS_FLAGS) > $@
96
97fontdir = @FONTDIR@
98font_DATA = $(PCF_FILES)
99CLEANFILES = $(font_DATA)
100
101EXTRA_DIST = $(BDF_FILES) COPYRIGHT README.md
102
103MAINTAINERCLEANFILES = ChangeLog INSTALL
104
105install-data-hook:
106	@rm -f $(DESTDIR)$(fontdir)/fonts.dir
107	$(MKFONTDIR) $(DESTDIR)$(fontdir)
108	@RUN_FCCACHE@
109
110distuninstallcheck:
111	@:
112
113
114.PHONY: ChangeLog INSTALL
115
116INSTALL:
117	$(INSTALL_CMD)
118
119ChangeLog:
120	$(CHANGELOG_CMD)
121
122dist-hook: ChangeLog INSTALL
123