188cd5fc2Smrg#
2a33c354dSmrg# Copyright (c) 2005, 2022, Oracle and/or its affiliates.
388cd5fc2Smrg#
488cd5fc2Smrg# Permission is hereby granted, free of charge, to any person obtaining a
588cd5fc2Smrg# copy of this software and associated documentation files (the "Software"),
688cd5fc2Smrg# to deal in the Software without restriction, including without limitation
788cd5fc2Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
888cd5fc2Smrg# and/or sell copies of the Software, and to permit persons to whom the
988cd5fc2Smrg# Software is furnished to do so, subject to the following conditions:
1088cd5fc2Smrg#
1188cd5fc2Smrg# The above copyright notice and this permission notice (including the next
1288cd5fc2Smrg# paragraph) shall be included in all copies or substantial portions of the
1388cd5fc2Smrg# Software.
1488cd5fc2Smrg#
1588cd5fc2Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1688cd5fc2Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1788cd5fc2Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1888cd5fc2Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1988cd5fc2Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2088cd5fc2Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2188cd5fc2Smrg# DEALINGS IN THE SOFTWARE.
2288cd5fc2Smrg#
2388cd5fc2Smrg
2488cd5fc2Smrglibmandir = $(LIB_MAN_DIR)
2588cd5fc2Smrg
26a33c354dSmrglibman_PRE = Xpresent.man \
27a33c354dSmrg	XPresentFreeInput.man \
28a33c354dSmrg	XPresentNotifyMSC.man \
29a33c354dSmrg	XPresentPixmap.man \
30a33c354dSmrg	XPresentQueryCapabilities.man \
31a33c354dSmrg	XPresentQueryExtension.man \
32a33c354dSmrg	XPresentQueryVersion.man \
33a33c354dSmrg	XPresentSelectInput.man \
34a33c354dSmrg	XPresentVersion.man
3588cd5fc2Smrg
3688cd5fc2Smrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
3788cd5fc2Smrg
3888cd5fc2SmrgEXTRA_DIST = $(libman_PRE)
3988cd5fc2Smrg
4088cd5fc2SmrgCLEANFILES = $(libman_DATA)
4188cd5fc2Smrg
4288cd5fc2Smrg# String replacements for man pages now come from xorg-macros.m4 via configure
4388cd5fc2Smrg
4488cd5fc2SmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man
4588cd5fc2Smrg
4688cd5fc2Smrg.man.$(LIB_MAN_SUFFIX):
4788cd5fc2Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
48