141b2f0bdSmrg# 211a29bacSmrg# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 311a29bacSmrg# 411a29bacSmrg# Permission is hereby granted, free of charge, to any person obtaining a 511a29bacSmrg# copy of this software and associated documentation files (the "Software"), 611a29bacSmrg# to deal in the Software without restriction, including without limitation 711a29bacSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 811a29bacSmrg# and/or sell copies of the Software, and to permit persons to whom the 911a29bacSmrg# Software is furnished to do so, subject to the following conditions: 1011a29bacSmrg# 1111a29bacSmrg# The above copyright notice and this permission notice (including the next 1211a29bacSmrg# paragraph) shall be included in all copies or substantial portions of the 1311a29bacSmrg# Software. 1411a29bacSmrg# 1511a29bacSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1611a29bacSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1711a29bacSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1811a29bacSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1911a29bacSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2011a29bacSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2111a29bacSmrg# DEALINGS IN THE SOFTWARE. 2211a29bacSmrg# 2341b2f0bdSmrg 2441b2f0bdSmrglibmandir = $(LIB_MAN_DIR) 2541b2f0bdSmrg 2641b2f0bdSmrgLIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%) 2741b2f0bdSmrg 2841b2f0bdSmrglibman_PRE = XF86Misc.man 2941b2f0bdSmrg 3041b2f0bdSmrgEXTRA_DIST = $(libman_PRE) 3141b2f0bdSmrg 3241b2f0bdSmrgCLEANFILES = $(libman_DATA) $(BUILT_SOURCES) 3341b2f0bdSmrg 3441b2f0bdSmrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \ 3511245024Smrg $(XF86Misc_shadowmen) 3641b2f0bdSmrg 3741b2f0bdSmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man 3841b2f0bdSmrg 3911a29bacSmrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 4041b2f0bdSmrg.man.$(LIB_MAN_SUFFIX): 4111245024Smrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 4241b2f0bdSmrg 4341b2f0bdSmrg# Generate man page shadow files (Replaces InstallManPageAliases from Imake) 4441b2f0bdSmrg 4541b2f0bdSmrgXF86Misc_shadows = \ 4641b2f0bdSmrg XF86MiscQueryExtension \ 4741b2f0bdSmrg XF86MiscQueryVersion \ 4841b2f0bdSmrg XF86MiscGetSaver \ 4941b2f0bdSmrg XF86MiscSetSaver \ 5041b2f0bdSmrg XF86MiscGetMouseSettings \ 5141b2f0bdSmrg XF86MiscSetMouseSettings \ 5241b2f0bdSmrg XF86MiscGetKbdSettings \ 5341b2f0bdSmrg XF86MiscSetKbdSettings 5441b2f0bdSmrg 5511245024SmrgXF86Misc_shadowmen = $(XF86Misc_shadows:=.@LIB_MAN_SUFFIX@) 5611245024Smrg 5711245024Smrg$(XF86Misc_shadowmen): 5811245024Smrg $(AM_V_GEN)echo .so man$(LIB_MAN_DIR_SUFFIX)/XF86Misc.$(LIB_MAN_SUFFIX) > $@ 59