172b676d7Smrg#
272b676d7Smrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3e35772b2Smrg#
4e35772b2Smrg# Permission is hereby granted, free of charge, to any person obtaining a
5e35772b2Smrg# copy of this software and associated documentation files (the "Software"),
6e35772b2Smrg# to deal in the Software without restriction, including without limitation
7e35772b2Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8e35772b2Smrg# and/or sell copies of the Software, and to permit persons to whom the
9e35772b2Smrg# Software is furnished to do so, subject to the following conditions:
10e35772b2Smrg#
11e35772b2Smrg# The above copyright notice and this permission notice (including the next
12e35772b2Smrg# paragraph) shall be included in all copies or substantial portions of the
13e35772b2Smrg# Software.
14e35772b2Smrg#
15e35772b2Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16e35772b2Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17e35772b2Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18e35772b2Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19e35772b2Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20e35772b2Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21e35772b2Smrg# DEALINGS IN THE SOFTWARE.
2272b676d7Smrg# 
2372b676d7Smrg
2472b676d7Smrgdrivermandir = $(DRIVER_MAN_DIR)
2572b676d7Smrg
2672b676d7Smrgdriverman_PRE = @DRIVER_NAME@.man
2772b676d7Smrg
2872b676d7Smrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
2972b676d7Smrg
3072b676d7SmrgEXTRA_DIST = @DRIVER_NAME@.man
3172b676d7Smrg
3272b676d7SmrgCLEANFILES = $(driverman_DATA)
3372b676d7Smrg
3472b676d7SmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
3572b676d7Smrg
3674c14cd6Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
3772b676d7Smrg.man.$(DRIVER_MAN_SUFFIX):
3874c14cd6Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
3972b676d7Smrg
40