1c35d236eSmrg#
2c35d236eSmrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
31fb744b4Smrg#
41fb744b4Smrg# Permission is hereby granted, free of charge, to any person obtaining a
51fb744b4Smrg# copy of this software and associated documentation files (the "Software"),
61fb744b4Smrg# to deal in the Software without restriction, including without limitation
71fb744b4Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
81fb744b4Smrg# and/or sell copies of the Software, and to permit persons to whom the
91fb744b4Smrg# Software is furnished to do so, subject to the following conditions:
101fb744b4Smrg#
111fb744b4Smrg# The above copyright notice and this permission notice (including the next
121fb744b4Smrg# paragraph) shall be included in all copies or substantial portions of the
131fb744b4Smrg# Software.
141fb744b4Smrg#
151fb744b4Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
161fb744b4Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171fb744b4Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
181fb744b4Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
191fb744b4Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
201fb744b4Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
211fb744b4Smrg# DEALINGS IN THE SOFTWARE.
22c35d236eSmrg# 
23c35d236eSmrg
24c35d236eSmrgdrivermandir = $(DRIVER_MAN_DIR)
25c35d236eSmrg
26c35d236eSmrgdriverman_PRE = @DRIVER_NAME@.man
27c35d236eSmrg
28c35d236eSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
29c35d236eSmrg
30c35d236eSmrgEXTRA_DIST = @DRIVER_NAME@.man
31c35d236eSmrg
32c35d236eSmrgCLEANFILES = $(driverman_DATA)
33c35d236eSmrg
34c35d236eSmrg
351fb744b4Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
36c35d236eSmrg
37c35d236eSmrg
38c35d236eSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
39c35d236eSmrg
40c35d236eSmrg.man.$(DRIVER_MAN_SUFFIX):
411fb744b4Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42