1b1cb5b87Smrg#  Copyright 2005 Red Hat, Inc.
2b1cb5b87Smrg#
3b1cb5b87Smrg#  Permission to use, copy, modify, distribute, and sell this software
4b1cb5b87Smrg#  and its documentation for any purpose is hereby granted without
5b1cb5b87Smrg#  fee, provided that the above copyright notice appear in all copies
6b1cb5b87Smrg#  and that both that copyright notice and this permission notice
7b1cb5b87Smrg#  appear in supporting documentation, and that the name of Red Hat
8b1cb5b87Smrg#  not be used in advertising or publicity pertaining to distribution
9b1cb5b87Smrg#  of the software without specific, written prior permission.  Red
10b1cb5b87Smrg#  Hat makes no representations about the suitability of this software
11b1cb5b87Smrg#  for any purpose.  It is provided "as is" without express or implied
12b1cb5b87Smrg#  warranty.
13b1cb5b87Smrg#
14b1cb5b87Smrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15b1cb5b87Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16b1cb5b87Smrg#  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17b1cb5b87Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
18b1cb5b87Smrg#  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
19b1cb5b87Smrg#  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20b1cb5b87Smrg#  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21b1cb5b87Smrg
22b1cb5b87SmrgFONT_FILES = \
23b1cb5b87Smrg	cursor
24b1cb5b87Smrg
25b1cb5b87SmrgBDF_FILES = $(FONT_FILES:%=%.bdf)
26a7d72839SmrgPCF_FILES = $(FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
27b1cb5b87Smrg
28a7d72839SmrgSUFFIXES = .bdf .pcf$(COMPRESS_SUFFIX)
29b1cb5b87Smrg
30a7d72839Smrg.bdf.pcf$(COMPRESS_SUFFIX):
31b1cb5b87Smrg	@rm -f $@
32d3407da1Smrg	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) $(COMPRESS_FLAGS) > $@
33b1cb5b87Smrg
34b1cb5b87Smrgfontdir = @FONTDIR@
35b1cb5b87Smrgfont_DATA = $(PCF_FILES)
36b1cb5b87SmrgCLEANFILES = $(font_DATA)
37b1cb5b87Smrg
38d3407da1SmrgEXTRA_DIST = $(BDF_FILES) README.md
39b1cb5b87Smrg
40fd991a63SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
41fd991a63Smrg
42b1cb5b87Smrginstall-data-hook:
43d3407da1Smrg	@rm -f $(DESTDIR)$(fontdir)/fonts.dir
44b1cb5b87Smrg	$(MKFONTDIR) $(DESTDIR)$(fontdir)
45a7d72839Smrg	@RUN_FCCACHE@
46b1cb5b87Smrg
47b1cb5b87Smrgdistuninstallcheck:
48b1cb5b87Smrg	@:
49a7d72839Smrg
50a7d72839Smrg
51fd991a63Smrg.PHONY: ChangeLog INSTALL
52fd991a63Smrg
53fd991a63SmrgINSTALL:
54fd991a63Smrg	$(INSTALL_CMD)
55a7d72839Smrg
56a7d72839SmrgChangeLog:
57a7d72839Smrg	$(CHANGELOG_CMD)
58a7d72839Smrg
59fd991a63Smrgdist-hook: ChangeLog INSTALL
60