2 # Copyright 2005 Red Hat, Inc.
4 # Permission to use, copy, modify, distribute, and sell this software
5 # and its documentation for any purpose is hereby granted without fee,
6 # provided that the above copyright notice appear in all copies and that
7 # both that copyright notice and this permission notice appear in
8 # supporting documentation, and that the name of Red Hat not be used in
9 # advertising or publicity pertaining to distribution of the software
10 # without specific, written prior permission. Red Hat makes no
11 # representations about the suitability of this software for any
12 # purpose. It is provided "as is" without express or implied warranty.
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 OF
18 # USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 # PERFORMANCE OF THIS SOFTWARE.
22 bin_SCRIPTS = mkfontdir
24 appman_PRE = mkfontdir.man
27 $(AM_V_GEN)$(SED) s,BINDIR,`echo @bindir@/mkfontscale | $(SED) s,/[^/]*$$,,`, < $< | $(SED) s/XCOMM/\#/ > $@
29 EXTRA_DIST = mkfontdir.cpp
30 MAINTAINERCLEANFILES = ChangeLog INSTALL
31 CLEANFILES = $(bin_SCRIPTS)
33 appmandir = $(APP_MAN_DIR)
35 appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
37 EXTRA_DIST += $(appman_PRE)
38 CLEANFILES += $(appman_DATA)
40 SUFFIXES = .$(APP_MAN_SUFFIX) .man .cpp
42 # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
43 .man.$(APP_MAN_SUFFIX):
44 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
47 .PHONY: ChangeLog INSTALL
55 dist-hook: ChangeLog INSTALL