Makefile.am revision 89d09728
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
22bin_PROGRAMS = bdftruncate ucs2any
23
24AM_CFLAGS = $(CWARNFLAGS)
25
26ucs2any_SOURCES = ucs2any.c
27bdftruncate_SOURCES = bdftruncate.c
28
29aclocaldir = $(datadir)/aclocal
30aclocal_DATA = fontutil.m4
31
32mapfilesdir = @MAPDIR@
33mapfiles_DATA = \
34	map-ISO8859-1 \
35	map-ISO8859-2 \
36	map-ISO8859-3 \
37	map-ISO8859-4 \
38	map-ISO8859-5 \
39	map-ISO8859-6 \
40	map-ISO8859-7 \
41	map-ISO8859-8 \
42	map-ISO8859-9 \
43	map-ISO8859-10 \
44	map-ISO8859-11 \
45	map-ISO8859-13 \
46	map-ISO8859-14 \
47	map-ISO8859-15 \
48	map-ISO8859-16 \
49	map-JISX0201.1976-0 \
50	map-KOI8-R
51
52pkgconfigdir = $(libdir)/pkgconfig
53pkgconfig_DATA = fontutil.pc
54
55appmandir = $(APP_MAN_DIR)
56appman_PRE = bdftruncate.man ucs2any.man
57appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
58
59CLEANFILES = bdftruncate $(appman_DATA)
60
61EXTRA_DIST = $(mapfiles_DATA) \
62	$(appman_PRE) \
63	fontutil.pc.in \
64	$(aclocal_DATA)
65
66# Strings to replace in man pages
67XORGRELSTRING = @PACKAGE_STRING@
68  XORGMANNAME = X Version 11
69
70SED = sed
71
72MAN_SUBSTS = \
73        -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
74        -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g'
75
76SUFFIXES = .$(APP_MAN_SUFFIX) .man
77
78.man.$(APP_MAN_SUFFIX):
79	sed $(MAN_SUBSTS) < $< > $@
80
81EXTRA_DIST += ChangeLog
82MAINTAINERCLEANFILES = ChangeLog
83
84.PHONY: ChangeLog
85
86ChangeLog:
87	$(CHANGELOG_CMD)
88
89dist-hook: ChangeLog
90