Makefile.am revision c35d236e
1c35d236eSmrg# $Id: Makefile.am,v 1.1.1.1 2008/08/02 05:11:41 mrg Exp $ 2c35d236eSmrg# 3c35d236eSmrg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 4c35d236eSmrg# 5c35d236eSmrg# Permission to use, copy, modify, distribute, and sell this software and its 6c35d236eSmrg# documentation for any purpose is hereby granted without fee, provided that 7c35d236eSmrg# the above copyright notice appear in all copies and that both that 8c35d236eSmrg# copyright notice and this permission notice appear in supporting 9c35d236eSmrg# documentation. 10c35d236eSmrg# 11c35d236eSmrg# The above copyright notice and this permission notice shall be included 12c35d236eSmrg# in all copies or substantial portions of the Software. 13c35d236eSmrg# 14c35d236eSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15c35d236eSmrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16c35d236eSmrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17c35d236eSmrg# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 18c35d236eSmrg# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19c35d236eSmrg# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20c35d236eSmrg# OTHER DEALINGS IN THE SOFTWARE. 21c35d236eSmrg# 22c35d236eSmrg# Except as contained in this notice, the name of the copyright holders shall 23c35d236eSmrg# not be used in advertising or otherwise to promote the sale, use or 24c35d236eSmrg# other dealings in this Software without prior written authorization 25c35d236eSmrg# from the copyright holders. 26c35d236eSmrg# 27c35d236eSmrg 28c35d236eSmrgdrivermandir = $(DRIVER_MAN_DIR) 29c35d236eSmrg 30c35d236eSmrgdriverman_PRE = @DRIVER_NAME@.man 31c35d236eSmrg 32c35d236eSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) 33c35d236eSmrg 34c35d236eSmrgEXTRA_DIST = @DRIVER_NAME@.man 35c35d236eSmrg 36c35d236eSmrgCLEANFILES = $(driverman_DATA) 37c35d236eSmrg 38c35d236eSmrgSED = sed 39c35d236eSmrg 40c35d236eSmrg# Strings to replace in man pages 41c35d236eSmrgXORGRELSTRING = @PACKAGE_STRING@ 42c35d236eSmrg XORGMANNAME = X Version 11 43c35d236eSmrg 44c35d236eSmrgMAN_SUBSTS = \ 45c35d236eSmrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 46c35d236eSmrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 47c35d236eSmrg -e 's|__xservername__|Xorg|g' \ 48c35d236eSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 49c35d236eSmrg -e 's|__projectroot__|$(prefix)|g' \ 50c35d236eSmrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 51c35d236eSmrg -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ 52c35d236eSmrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 53c35d236eSmrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 54c35d236eSmrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 55c35d236eSmrg 56c35d236eSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man 57c35d236eSmrg 58c35d236eSmrg.man.$(DRIVER_MAN_SUFFIX): 59c35d236eSmrg sed $(MAN_SUBSTS) < $< > $@ 60