1dbbd9e4bSmacallan#
2dbbd9e4bSmacallan# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3e96acad6Smrg#
4e96acad6Smrg# Permission is hereby granted, free of charge, to any person obtaining a
5e96acad6Smrg# copy of this software and associated documentation files (the "Software"),
6e96acad6Smrg# to deal in the Software without restriction, including without limitation
7e96acad6Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8e96acad6Smrg# and/or sell copies of the Software, and to permit persons to whom the
9e96acad6Smrg# Software is furnished to do so, subject to the following conditions:
10e96acad6Smrg#
11e96acad6Smrg# The above copyright notice and this permission notice (including the next
12e96acad6Smrg# paragraph) shall be included in all copies or substantial portions of the
13e96acad6Smrg# Software.
14e96acad6Smrg#
15e96acad6Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16e96acad6Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17e96acad6Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18e96acad6Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19e96acad6Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20e96acad6Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21e96acad6Smrg# DEALINGS IN THE SOFTWARE.
22dbbd9e4bSmacallan# 
23dbbd9e4bSmacallan
24dbbd9e4bSmacallandrivermandir = $(DRIVER_MAN_DIR)
25dbbd9e4bSmacallan
26dbbd9e4bSmacallandriverman_PRE = @DRIVER_NAME@.man
27dbbd9e4bSmacallan
28dbbd9e4bSmacallandriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
29dbbd9e4bSmacallan
30dbbd9e4bSmacallanEXTRA_DIST = @DRIVER_NAME@.man
31dbbd9e4bSmacallan
32dbbd9e4bSmacallanCLEANFILES = $(driverman_DATA)
33dbbd9e4bSmacallan
34dbbd9e4bSmacallan
35e96acad6Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
36dbbd9e4bSmacallan
37dbbd9e4bSmacallan
38dbbd9e4bSmacallanSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
39dbbd9e4bSmacallan
40dbbd9e4bSmacallan.man.$(DRIVER_MAN_SUFFIX):
41e96acad6Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42