Makefile.am revision 45bc899b
145bc899bSmrg# $Id: Makefile.am,v 1.1.1.1 2008/08/02 05:17:45 mrg Exp $ 245bc899bSmrg# 345bc899bSmrg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 445bc899bSmrg# 545bc899bSmrg# Permission to use, copy, modify, distribute, and sell this software and its 645bc899bSmrg# documentation for any purpose is hereby granted without fee, provided that 745bc899bSmrg# the above copyright notice appear in all copies and that both that 845bc899bSmrg# copyright notice and this permission notice appear in supporting 945bc899bSmrg# documentation. 1045bc899bSmrg# 1145bc899bSmrg# The above copyright notice and this permission notice shall be included 1245bc899bSmrg# in all copies or substantial portions of the Software. 1345bc899bSmrg# 1445bc899bSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1545bc899bSmrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1645bc899bSmrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 1745bc899bSmrg# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 1845bc899bSmrg# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 1945bc899bSmrg# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 2045bc899bSmrg# OTHER DEALINGS IN THE SOFTWARE. 2145bc899bSmrg# 2245bc899bSmrg# Except as contained in this notice, the name of the copyright holders shall 2345bc899bSmrg# not be used in advertising or otherwise to promote the sale, use or 2445bc899bSmrg# other dealings in this Software without prior written authorization 2545bc899bSmrg# from the copyright holders. 2645bc899bSmrg# 2745bc899bSmrg 2845bc899bSmrgdrivermandir = $(DRIVER_MAN_DIR) 2945bc899bSmrg 3045bc899bSmrgdriverman_PRE = @DRIVER_NAME@.man 3145bc899bSmrg 3245bc899bSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) 3345bc899bSmrg 3445bc899bSmrgEXTRA_DIST = @DRIVER_NAME@.man 3545bc899bSmrg 3645bc899bSmrgCLEANFILES = $(driverman_DATA) 3745bc899bSmrg 3845bc899bSmrgSED = sed 3945bc899bSmrg 4045bc899bSmrg# Strings to replace in man pages 4145bc899bSmrgXORGRELSTRING = @PACKAGE_STRING@ 4245bc899bSmrg XORGMANNAME = X Version 11 4345bc899bSmrg 4445bc899bSmrgMAN_SUBSTS = \ 4545bc899bSmrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4645bc899bSmrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 4745bc899bSmrg -e 's|__xservername__|Xorg|g' \ 4845bc899bSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 4945bc899bSmrg -e 's|__projectroot__|$(prefix)|g' \ 5045bc899bSmrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 5145bc899bSmrg -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ 5245bc899bSmrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 5345bc899bSmrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 5445bc899bSmrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 5545bc899bSmrg 5645bc899bSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man 5745bc899bSmrg 5845bc899bSmrg.man.$(DRIVER_MAN_SUFFIX): 5945bc899bSmrg sed $(MAN_SUBSTS) < $< > $@ 60