17a84e134Smrg#
25b16253fSmrg# Copyright (c) 2005, Oracle and/or its affiliates.
3994689c1Smrg#
4994689c1Smrg# Permission is hereby granted, free of charge, to any person obtaining a
5994689c1Smrg# copy of this software and associated documentation files (the "Software"),
6994689c1Smrg# to deal in the Software without restriction, including without limitation
7994689c1Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8994689c1Smrg# and/or sell copies of the Software, and to permit persons to whom the
9994689c1Smrg# Software is furnished to do so, subject to the following conditions:
10994689c1Smrg#
11994689c1Smrg# The above copyright notice and this permission notice (including the next
12994689c1Smrg# paragraph) shall be included in all copies or substantial portions of the
13994689c1Smrg# Software.
14994689c1Smrg#
15994689c1Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16994689c1Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17994689c1Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18994689c1Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19994689c1Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20994689c1Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21994689c1Smrg# DEALINGS IN THE SOFTWARE.
22994689c1Smrg#
237a84e134Smrg
247a84e134Smrglibmandir = $(LIB_MAN_DIR)
257a84e134Smrg
267a84e134Smrglibman_PRE = Xaw.man
277a84e134Smrg
287a84e134Smrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
297a84e134Smrg
307a84e134SmrgEXTRA_DIST = $(libman_PRE)
317a84e134Smrg
327a84e134SmrgCLEANFILES = $(libman_DATA)
337a84e134Smrg
347a84e134SmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man
357a84e134Smrg
36994689c1Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
37994689c1SmrgMAN_SUBSTS += -e 's|__docdir__|$(docdir)|g'
38994689c1Smrg
397a84e134Smrg.man.$(LIB_MAN_SUFFIX):
40e1e1713cSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
417a84e134Smrg
42