195b296d0Smrg#
295b296d0Smrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
32378475aSmrg#
42378475aSmrg# Permission is hereby granted, free of charge, to any person obtaining a
52378475aSmrg# copy of this software and associated documentation files (the "Software"),
62378475aSmrg# to deal in the Software without restriction, including without limitation
72378475aSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
82378475aSmrg# and/or sell copies of the Software, and to permit persons to whom the
92378475aSmrg# Software is furnished to do so, subject to the following conditions:
102378475aSmrg#
112378475aSmrg# The above copyright notice and this permission notice (including the next
122378475aSmrg# paragraph) shall be included in all copies or substantial portions of the
132378475aSmrg# Software.
142378475aSmrg#
152378475aSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
162378475aSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
172378475aSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
182378475aSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
192378475aSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
202378475aSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
212378475aSmrg# DEALINGS IN THE SOFTWARE.
2295b296d0Smrg# 
2395b296d0Smrg
2495b296d0Smrgdrivermandir = $(DRIVER_MAN_DIR)
2595b296d0Smrg
2695b296d0Smrgdriverman_PRE = @DRIVER_NAME@.man
2795b296d0Smrg
2895b296d0Smrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
2995b296d0Smrg
3095b296d0SmrgEXTRA_DIST = @DRIVER_NAME@.man
3195b296d0Smrg
3295b296d0SmrgCLEANFILES = $(driverman_DATA)
3395b296d0Smrg
3414330f12Smrg
3514330f12Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
3614330f12Smrg
3795b296d0Smrg
3895b296d0SmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
3995b296d0Smrg
4095b296d0Smrg.man.$(DRIVER_MAN_SUFFIX):
4114330f12Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42