Makefile.am revision c3c9b392
129459361Smrg# 
229459361Smrg#  Copyright 2005  Red Hat, Inc.
329459361Smrg# 
429459361Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
529459361Smrg#  documentation for any purpose is hereby granted without fee, provided that
629459361Smrg#  the above copyright notice appear in all copies and that both that
729459361Smrg#  copyright notice and this permission notice appear in supporting
829459361Smrg#  documentation, and that the name of Red Hat not be used in
929459361Smrg#  advertising or publicity pertaining to distribution of the software without
1029459361Smrg#  specific, written prior permission.  Red Hat makes no
1129459361Smrg#  representations about the suitability of this software for any purpose.  It
1229459361Smrg#  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 NO
1629459361Smrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1729459361Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1829459361Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1929459361Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2029459361Smrg#  PERFORMANCE OF THIS SOFTWARE.
2129459361Smrg
2229459361Smrgbin_PROGRAMS = appres
2329459361Smrg
245715adc0SmrgAM_CFLAGS = $(APPRES_CFLAGS) $(CWARNFLAGS)
2529459361Smrgappres_LDADD = $(APPRES_LIBS)
2629459361Smrg
2729459361Smrgappres_SOURCES =		\
2829459361Smrg         appres.c
2929459361Smrg
3029459361Smrgappman_PRE = \
3129459361Smrg             appres.man
3229459361Smrg
3329459361Smrgappmandir = $(APP_MAN_DIR)
3429459361Smrg
3529459361Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
3629459361Smrg
37c3c9b392SmrgEXTRA_DIST = $(appman_PRE) autogen.sh
38c3c9b392SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
3929459361SmrgCLEANFILES = $(appman_DATA)
4029459361Smrg
4129459361Smrg
42c3c9b392Smrg.PHONY: ChangeLog INSTALL
43c3c9b392Smrg
44c3c9b392SmrgINSTALL:
45c3c9b392Smrg	$(INSTALL_CMD)
4629459361Smrg
4729459361SmrgChangeLog:
485715adc0Smrg	$(CHANGELOG_CMD)
4929459361Smrg
50c3c9b392Smrgdist-hook: ChangeLog INSTALL
5129459361Smrg
5229459361SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
5329459361Smrg
54c3c9b392Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
5529459361Smrg.man.$(APP_MAN_SUFFIX):
56c3c9b392Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
57