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