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 = arabic24
23
24BDF_FILES = $(FONT_FILES:%=%.bdf)
25PCF_FILES = $(FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
26
27SUFFIXES = .bdf .pcf$(COMPRESS_SUFFIX)
28
29.bdf.pcf$(COMPRESS_SUFFIX):
30	@rm -f $@
31	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) $(COMPRESS_FLAGS) > $@
32
33fontdir = @FONTDIR@
34font_DATA = $(PCF_FILES)
35CLEANFILES = $(font_DATA)
36
37EXTRA_DIST = $(BDF_FILES) uniarab.txt README.md
38
39MAINTAINERCLEANFILES = ChangeLog INSTALL
40
41install-data-hook:
42	@rm -f $(DESTDIR)$(fontdir)/fonts.dir
43	$(MKFONTDIR) $(DESTDIR)$(fontdir)
44	@RUN_FCCACHE@
45
46distuninstallcheck:
47	@:
48
49
50.PHONY: ChangeLog INSTALL
51
52INSTALL:
53	$(INSTALL_CMD)
54
55ChangeLog:
56	$(CHANGELOG_CMD)
57
58dist-hook: ChangeLog INSTALL
59