Makefile.am revision 1cca5e29
1# 2# Copyright 2005 Red Hat, Inc. 3# 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. 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 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. 21 22bin_SCRIPTS = mkfontdir 23 24appman_PRE = mkfontdir.man 25 26.cpp: 27 $(AM_V_GEN)$(SED) s,BINDIR,`echo @bindir@/mkfontscale | $(SED) s,/[^/]*$$,,`, < $< | $(SED) s/XCOMM/\#/ > $@ 28 29EXTRA_DIST = mkfontdir.cpp 30MAINTAINERCLEANFILES = ChangeLog INSTALL 31CLEANFILES = $(bin_SCRIPTS) 32 33appmandir = $(APP_MAN_DIR) 34 35appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 36 37EXTRA_DIST += $(appman_PRE) 38CLEANFILES += $(appman_DATA) 39 40SUFFIXES = .$(APP_MAN_SUFFIX) .man .cpp 41 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) < $< > $@ 45 46 47.PHONY: ChangeLog INSTALL 48 49INSTALL: 50 $(INSTALL_CMD) 51 52ChangeLog: 53 $(CHANGELOG_CMD) 54 55dist-hook: ChangeLog INSTALL 56