14a041c5bSmacallan#
24a041c5bSmacallan# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
354b44505Smrg#
454b44505Smrg# Permission is hereby granted, free of charge, to any person obtaining a
554b44505Smrg# copy of this software and associated documentation files (the "Software"),
654b44505Smrg# to deal in the Software without restriction, including without limitation
754b44505Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
854b44505Smrg# and/or sell copies of the Software, and to permit persons to whom the
954b44505Smrg# Software is furnished to do so, subject to the following conditions:
1054b44505Smrg#
1154b44505Smrg# The above copyright notice and this permission notice (including the next
1254b44505Smrg# paragraph) shall be included in all copies or substantial portions of the
1354b44505Smrg# Software.
1454b44505Smrg#
1554b44505Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1654b44505Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1754b44505Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1854b44505Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1954b44505Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2054b44505Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2154b44505Smrg# DEALINGS IN THE SOFTWARE.
224a041c5bSmacallan# 
234a041c5bSmacallan
244a041c5bSmacallandrivermandir = $(DRIVER_MAN_DIR)
254a041c5bSmacallan
264a041c5bSmacallandriverman_PRE = @DRIVER_NAME@.man
274a041c5bSmacallan
284a041c5bSmacallandriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
294a041c5bSmacallan
304a041c5bSmacallanEXTRA_DIST = @DRIVER_NAME@.man
314a041c5bSmacallan
324a041c5bSmacallanCLEANFILES = $(driverman_DATA)
334a041c5bSmacallan
344a041c5bSmacallan
3554b44505Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
364a041c5bSmacallan
374a041c5bSmacallan
384a041c5bSmacallanSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
394a041c5bSmacallan
404a041c5bSmacallan.man.$(DRIVER_MAN_SUFFIX):
4154b44505Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
42