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