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