Makefile.am revision 4456fccd
14456fccdSmrg# $Id: Makefile.am,v 1.1.1.1 2008/07/30 02:48:25 mrg Exp $
24456fccdSmrg#
34456fccdSmrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
44456fccdSmrg# 
54456fccdSmrg# Permission to use, copy, modify, distribute, and sell this software and its
64456fccdSmrg# documentation for any purpose is hereby granted without fee, provided that
74456fccdSmrg# the above copyright notice appear in all copies and that both that
84456fccdSmrg# copyright notice and this permission notice appear in supporting
94456fccdSmrg# documentation.
104456fccdSmrg# 
114456fccdSmrg# The above copyright notice and this permission notice shall be included
124456fccdSmrg# in all copies or substantial portions of the Software.
134456fccdSmrg# 
144456fccdSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
154456fccdSmrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
164456fccdSmrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
174456fccdSmrg# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
184456fccdSmrg# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
194456fccdSmrg# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
204456fccdSmrg# OTHER DEALINGS IN THE SOFTWARE.
214456fccdSmrg# 
224456fccdSmrg# Except as contained in this notice, the name of the copyright holders shall
234456fccdSmrg# not be used in advertising or otherwise to promote the sale, use or
244456fccdSmrg# other dealings in this Software without prior written authorization
254456fccdSmrg# from the copyright holders.
264456fccdSmrg# 
274456fccdSmrg
284456fccdSmrglibmandir = $(LIB_MAN_DIR)
294456fccdSmrg
304456fccdSmrglibman_PRE = Xfixes.man
314456fccdSmrg
324456fccdSmrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
334456fccdSmrg
344456fccdSmrgEXTRA_DIST = $(libman_PRE)
354456fccdSmrg
364456fccdSmrgCLEANFILES = $(libman_DATA)
374456fccdSmrg
384456fccdSmrgSED = sed
394456fccdSmrg
404456fccdSmrg# Strings to replace in man pages
414456fccdSmrgXORGRELSTRING = @PACKAGE_STRING@
424456fccdSmrg  XORGMANNAME = X Version 11
434456fccdSmrg
444456fccdSmrgMAN_SUBSTS = \
454456fccdSmrg	-e 's/__vendorversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \
464456fccdSmrg	-e 's/__libmansuffix__/$(LIB_MAN_SUFFIX)/g' 
474456fccdSmrg
484456fccdSmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man
494456fccdSmrg
504456fccdSmrg.man.$(LIB_MAN_SUFFIX):
514456fccdSmrg	sed $(MAN_SUBSTS) < $< > $@
52