102be438aSmrg#
202be438aSmrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3909209eeSmrg#
4909209eeSmrg# Permission is hereby granted, free of charge, to any person obtaining a
5909209eeSmrg# copy of this software and associated documentation files (the "Software"),
6909209eeSmrg# to deal in the Software without restriction, including without limitation
7909209eeSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8909209eeSmrg# and/or sell copies of the Software, and to permit persons to whom the
9909209eeSmrg# Software is furnished to do so, subject to the following conditions:
10909209eeSmrg#
11909209eeSmrg# The above copyright notice and this permission notice (including the next
12909209eeSmrg# paragraph) shall be included in all copies or substantial portions of the
13909209eeSmrg# Software.
14909209eeSmrg#
15909209eeSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16909209eeSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17909209eeSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18909209eeSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19909209eeSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20909209eeSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21909209eeSmrg# DEALINGS IN THE SOFTWARE.
2202be438aSmrg# 
2302be438aSmrg
2402be438aSmrgdrivermandir = $(DRIVER_MAN_DIR)
2502be438aSmrg
2602be438aSmrgdriverman_PRE = @DRIVER_NAME@.man
2702be438aSmrg
2802be438aSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
2902be438aSmrg
3002be438aSmrgEXTRA_DIST = @DRIVER_NAME@.man
3102be438aSmrg
3202be438aSmrgCLEANFILES = $(driverman_DATA)
3302be438aSmrg
3402be438aSmrg
35909209eeSmrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
3602be438aSmrg
3702be438aSmrg
3802be438aSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
3902be438aSmrg
4002be438aSmrg.man.$(DRIVER_MAN_SUFFIX):
41909209eeSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42