109885543Smrg#
2beef1b22Smrg# Copyright (c) 2005, Oracle and/or its affiliates.
3e4f6584cSmrg#
4e4f6584cSmrg# Permission is hereby granted, free of charge, to any person obtaining a
5e4f6584cSmrg# copy of this software and associated documentation files (the "Software"),
6e4f6584cSmrg# to deal in the Software without restriction, including without limitation
7e4f6584cSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8e4f6584cSmrg# and/or sell copies of the Software, and to permit persons to whom the
9e4f6584cSmrg# Software is furnished to do so, subject to the following conditions:
10e4f6584cSmrg#
11e4f6584cSmrg# The above copyright notice and this permission notice (including the next
12e4f6584cSmrg# paragraph) shall be included in all copies or substantial portions of the
13e4f6584cSmrg# Software.
14e4f6584cSmrg#
15e4f6584cSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16e4f6584cSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17e4f6584cSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18e4f6584cSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19e4f6584cSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20e4f6584cSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21e4f6584cSmrg# DEALINGS IN THE SOFTWARE.
227b58d2e0Smrg#
2309885543Smrg
2409885543Smrgdrivermandir = $(DRIVER_MAN_DIR)
2509885543Smrg
2609885543Smrgdriverman_PRE = @DRIVER_NAME@.man
2709885543Smrg
2809885543Smrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
2909885543Smrg
3009885543SmrgEXTRA_DIST = @DRIVER_NAME@.man
3109885543Smrg
3209885543SmrgCLEANFILES = $(driverman_DATA)
3309885543Smrg
347b58d2e0Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
357b58d2e0Smrg
3609885543Smrg
3709885543SmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
3809885543Smrg
3909885543Smrg.man.$(DRIVER_MAN_SUFFIX):
40e4f6584cSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
41