Makefile.am revision 17a48c7c
117a48c7cSmrg# $Id: Makefile.am,v 1.1.1.1 2008/08/02 05:09:48 mrg Exp $ 217a48c7cSmrg# 317a48c7cSmrg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 417a48c7cSmrg# 517a48c7cSmrg# Permission to use, copy, modify, distribute, and sell this software and its 617a48c7cSmrg# documentation for any purpose is hereby granted without fee, provided that 717a48c7cSmrg# the above copyright notice appear in all copies and that both that 817a48c7cSmrg# copyright notice and this permission notice appear in supporting 917a48c7cSmrg# documentation. 1017a48c7cSmrg# 1117a48c7cSmrg# The above copyright notice and this permission notice shall be included 1217a48c7cSmrg# in all copies or substantial portions of the Software. 1317a48c7cSmrg# 1417a48c7cSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1517a48c7cSmrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1617a48c7cSmrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 1717a48c7cSmrg# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 1817a48c7cSmrg# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 1917a48c7cSmrg# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 2017a48c7cSmrg# OTHER DEALINGS IN THE SOFTWARE. 2117a48c7cSmrg# 2217a48c7cSmrg# Except as contained in this notice, the name of the copyright holders shall 2317a48c7cSmrg# not be used in advertising or otherwise to promote the sale, use or 2417a48c7cSmrg# other dealings in this Software without prior written authorization 2517a48c7cSmrg# from the copyright holders. 2617a48c7cSmrg# 2717a48c7cSmrg 2817a48c7cSmrgdrivermandir = $(DRIVER_MAN_DIR) 2917a48c7cSmrg 3017a48c7cSmrgdriverman_PRE = @DRIVER_NAME@.man 3117a48c7cSmrg 3217a48c7cSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) 3317a48c7cSmrg 3417a48c7cSmrgEXTRA_DIST = @DRIVER_NAME@.man 3517a48c7cSmrg 3617a48c7cSmrgCLEANFILES = $(driverman_DATA) 3717a48c7cSmrg 3817a48c7cSmrgSED = sed 3917a48c7cSmrg 4017a48c7cSmrg# Strings to replace in man pages 4117a48c7cSmrgXORGRELSTRING = @PACKAGE_STRING@ 4217a48c7cSmrg XORGMANNAME = X Version 11 4317a48c7cSmrg 4417a48c7cSmrgMAN_SUBSTS = \ 4517a48c7cSmrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4617a48c7cSmrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4717a48c7cSmrg -e 's|__xservername__|Xorg|g' \ 4817a48c7cSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 4917a48c7cSmrg -e 's|__projectroot__|$(prefix)|g' \ 5017a48c7cSmrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 5117a48c7cSmrg -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ 5217a48c7cSmrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 5317a48c7cSmrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 5417a48c7cSmrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 5517a48c7cSmrg 5617a48c7cSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man 5717a48c7cSmrg 5817a48c7cSmrg.man.$(DRIVER_MAN_SUFFIX): 5917a48c7cSmrg sed $(MAN_SUBSTS) < $< > $@ 60