Makefile.am revision 29459361
129459361Smrg# 229459361Smrg# Copyright 2005 Red Hat, Inc. 329459361Smrg# 429459361Smrg# Permission to use, copy, modify, distribute, and sell this software 529459361Smrg# and its documentation for any purpose is hereby granted without fee, 629459361Smrg# provided that the above copyright notice appear in all copies and that 729459361Smrg# both that copyright notice and this permission notice appear in 829459361Smrg# supporting documentation, and that the name of Red Hat not be used in 929459361Smrg# advertising or publicity pertaining to distribution of the software 1029459361Smrg# without specific, written prior permission. Red Hat makes no 1129459361Smrg# representations about the suitability of this software for any 1229459361Smrg# purpose. It is provided "as is" without express or implied warranty. 1329459361Smrg# 1429459361Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1529459361Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 1629459361Smrg# NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1729459361Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 1829459361Smrg# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 1929459361Smrg# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2029459361Smrg# PERFORMANCE OF THIS SOFTWARE. 2129459361Smrg 2229459361Smrgbin_PROGRAMS = bdftopcf 2329459361Smrg 2429459361Smrgbdftopcf_CFLAGS = @BDFTOPCF_CFLAGS@ 2529459361Smrgbdftopcf_LDADD = @BDFTOPCF_LIBS@ 2629459361Smrg 2729459361Smrgbdftopcf_SOURCES = bdftopcf.c 2829459361Smrg 2929459361Smrgappman_PRE = bdftopcf.man 3029459361Smrg 3129459361Smrgappmandir = $(APP_MAN_DIR) 3229459361Smrg 3329459361Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 3429459361Smrg 3529459361SmrgEXTRA_DIST = $(appman_PRE) ChangeLog 3629459361SmrgCLEANFILES = $(appman_DATA) 3729459361Smrg 3829459361SmrgSED = sed 3929459361Smrg 4029459361Smrg# Strings to replace in man pages 4129459361SmrgXORGRELSTRING = @PACKAGE_STRING@ 4229459361Smrg XORGMANNAME = X Version 11 4329459361Smrg 4429459361SmrgMAN_SUBSTS = \ 4529459361Smrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4629459361Smrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4729459361Smrg -e 's|__xservername__|Xorg|g' \ 4829459361Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 4929459361Smrg -e 's|__projectroot__|$(prefix)|g' \ 5029459361Smrg -e 's|__apploaddir__|$(appdefaultdir)|' \ 5129459361Smrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 5229459361Smrg -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ 5329459361Smrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 5429459361Smrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 5529459361Smrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 5629459361Smrg 5729459361SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 5829459361Smrg 5929459361Smrg.man.$(APP_MAN_SUFFIX): 6029459361Smrg sed $(MAN_SUBSTS) < $< > $@ 6129459361Smrg 6229459361SmrgChangeLog: 6329459361Smrg (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) 6429459361Smrg 6529459361Smrgdist-hook: ChangeLog 6629459361Smrg 6729459361Smrgif LINT 6829459361SmrgALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 6929459361Smrg $(AM_CPPFLAGS) $(CPPFLAGS) $(bdftopcf_CFLAGS) 7029459361Smrg 7129459361Smrglint: 7229459361Smrg $(LINT) $(ALL_LINT_FLAGS) $(bdftopcf_SOURCES) 7329459361Smrgendif LINT 74