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 fee,
5#  provided that the above copyright notice appear in all copies and
6#  that both that copyright notice and this permission notice appear in
7#  supporting documentation, and that the name of Red Hat not be used in
8#  advertising or publicity pertaining to distribution of the software
9#  without specific, written prior permission.  Red Hat makes no
10#  representations about the suitability of this software for any
11#  purpose.  It is provided "as is" without express or implied warranty.
12# 
13#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
15#  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
17#  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
18#  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
19#  USE OR PERFORMANCE OF THIS SOFTWARE.
20#
21#  Process this file with autoconf to create configure.
22
23miscmandir = $(MISC_MAN_DIR)
24
25miscman_PRE =			\
26	Consortium.man		\
27	Xsecurity.man		\
28	Standards.man		\
29	X.man			\
30	XOrgFoundation.man	\
31	XProjectTeam.man
32
33miscman_DATA = $(miscman_PRE:man=@MISC_MAN_SUFFIX@)
34
35EXTRA_DIST = $(miscman_PRE)
36CLEANFILES = $(miscman_DATA)
37SUFFIXES = .$(MISC_MAN_SUFFIX) .man
38
39# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
40MAN_SUBSTS += 	-e 's|__datadir__|$(datadir)|g' \
41		-e 's|__libdir__|$(libdir)|g' \
42		-e 's|__sysconfdir__|$(sysconfdir)|g'
43
44.man.$(MISC_MAN_SUFFIX):
45	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
46