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	charB08 \
24	charB10 \
25	charB12 \
26	charB14 \
27	charB18 \
28	charB24 \
29	charBI08 \
30	charBI10 \
31	charBI12 \
32	charBI14 \
33	charBI18 \
34	charBI24 \
35	charI08 \
36	charI10 \
37	charI12 \
38	charI14 \
39	charI18 \
40	charI24 \
41	charR08 \
42	charR10 \
43	charR12 \
44	charR14 \
45	charR18 \
46	charR24 \
47	tech14 \
48	techB14 \
49	term14 \
50	termB14
51
52BDF_FILES = $(FONT_FILES:%=%.bdf)
53PCF_FILES = $(FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
54
55SUFFIXES = .bdf .pcf$(COMPRESS_SUFFIX)
56
57.bdf.pcf$(COMPRESS_SUFFIX):
58	@rm -f $@
59	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) > $@
60
61fontdir = @FONTDIR@
62font_DATA = $(PCF_FILES)
63CLEANFILES = $(font_DATA)
64
65EXTRA_DIST = $(BDF_FILES)
66
67MAINTAINERCLEANFILES = ChangeLog INSTALL
68
69install-data-hook:
70	@rm -f $(DESTDIR)$(fontdir)/font.dir
71	$(MKFONTDIR) $(DESTDIR)$(fontdir)
72	@RUN_FCCACHE@
73
74distuninstallcheck:
75	@:
76
77
78.PHONY: ChangeLog INSTALL
79
80INSTALL:
81	$(INSTALL_CMD)
82
83ChangeLog:
84	$(CHANGELOG_CMD)
85
86dist-hook: ChangeLog INSTALL
87