1301ea0f4Smrg#
2301ea0f4Smrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3213fdd94Smrg#
4213fdd94Smrg# Permission is hereby granted, free of charge, to any person obtaining a
5213fdd94Smrg# copy of this software and associated documentation files (the "Software"),
6213fdd94Smrg# to deal in the Software without restriction, including without limitation
7213fdd94Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8213fdd94Smrg# and/or sell copies of the Software, and to permit persons to whom the
9213fdd94Smrg# Software is furnished to do so, subject to the following conditions:
10213fdd94Smrg#
11213fdd94Smrg# The above copyright notice and this permission notice (including the next
12213fdd94Smrg# paragraph) shall be included in all copies or substantial portions of the
13213fdd94Smrg# Software.
14213fdd94Smrg#
15213fdd94Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16213fdd94Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17213fdd94Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18213fdd94Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19213fdd94Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20213fdd94Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21213fdd94Smrg# DEALINGS IN THE SOFTWARE.
22301ea0f4Smrg# 
23301ea0f4Smrg
24301ea0f4Smrgdrivermandir = $(DRIVER_MAN_DIR)
25301ea0f4Smrg
26301ea0f4Smrgdriverman_PRE = @DRIVER_NAME@.man
27301ea0f4Smrg
28301ea0f4Smrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
29301ea0f4Smrg
30301ea0f4SmrgEXTRA_DIST = @DRIVER_NAME@.man
31301ea0f4Smrg
32301ea0f4SmrgCLEANFILES = $(driverman_DATA)
33301ea0f4Smrg
34301ea0f4Smrg
35213fdd94Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
36301ea0f4Smrg
37301ea0f4Smrg
38301ea0f4SmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
39301ea0f4Smrg
40301ea0f4Smrg.man.$(DRIVER_MAN_SUFFIX):
41213fdd94Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42