150806d53Smrg#
250806d53Smrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3b3e38ee4Smrg#
4b3e38ee4Smrg# Permission is hereby granted, free of charge, to any person obtaining a
5b3e38ee4Smrg# copy of this software and associated documentation files (the "Software"),
6b3e38ee4Smrg# to deal in the Software without restriction, including without limitation
7b3e38ee4Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8b3e38ee4Smrg# and/or sell copies of the Software, and to permit persons to whom the
9b3e38ee4Smrg# Software is furnished to do so, subject to the following conditions:
10b3e38ee4Smrg#
11b3e38ee4Smrg# The above copyright notice and this permission notice (including the next
12b3e38ee4Smrg# paragraph) shall be included in all copies or substantial portions of the
13b3e38ee4Smrg# Software.
14b3e38ee4Smrg#
15b3e38ee4Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16b3e38ee4Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17b3e38ee4Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18b3e38ee4Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19b3e38ee4Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20b3e38ee4Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21b3e38ee4Smrg# DEALINGS IN THE SOFTWARE.
2250806d53Smrg# 
2350806d53Smrg
2450806d53Smrgdrivermandir = $(DRIVER_MAN_DIR)
2550806d53Smrg
2650806d53Smrgdriverman_PRE = @DRIVER_NAME@.man
2750806d53Smrg
2850806d53Smrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
2950806d53Smrg
3050806d53SmrgEXTRA_DIST = @DRIVER_NAME@.man
3150806d53Smrg
3250806d53SmrgCLEANFILES = $(driverman_DATA)
3350806d53Smrg
3450806d53Smrg
35b3e38ee4Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
3650806d53Smrg
3750806d53Smrg
3850806d53SmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
3950806d53Smrg
4050806d53Smrg.man.$(DRIVER_MAN_SUFFIX):
41b3e38ee4Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42