1ce62200cSmrg# 2ce62200cSmrg# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 3ce62200cSmrg# 4ce62200cSmrg# Permission is hereby granted, free of charge, to any person obtaining a 5ce62200cSmrg# copy of this software and associated documentation files (the "Software"), 6ce62200cSmrg# to deal in the Software without restriction, including without limitation 7ce62200cSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 8ce62200cSmrg# and/or sell copies of the Software, and to permit persons to whom the 9ce62200cSmrg# Software is furnished to do so, subject to the following conditions: 10ce62200cSmrg# 11ce62200cSmrg# The above copyright notice and this permission notice (including the next 12ce62200cSmrg# paragraph) shall be included in all copies or substantial portions of the 13ce62200cSmrg# Software. 14ce62200cSmrg# 15ce62200cSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16ce62200cSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17ce62200cSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18ce62200cSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19ce62200cSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20ce62200cSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21ce62200cSmrg# DEALINGS IN THE SOFTWARE. 22ce62200cSmrg# 23ce62200cSmrg 24ce62200cSmrgappmandir = $(APP_MAN_DIR) 25ce62200cSmrgappman_PRE = xmodmap.man 26ce62200cSmrgappman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) 27ce62200cSmrg 28ce62200cSmrgEXTRA_DIST = $(appman_PRE) 29ce62200cSmrgCLEANFILES = $(appman_DATA) 30ce62200cSmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 31ce62200cSmrg 32ce62200cSmrg# Where libX11 installs XKeysymDB 33ce62200cSmrg# Assuming both xmodmap and libX11 are installed under the same $prefix 34ce62200cSmrgX11_DATADIR=$(datadir)/X11 35ce62200cSmrg 36ce62200cSmrgMAN_SUBSTS += -e 's|__X11datadir__|$(X11_DATADIR)|g' 37ce62200cSmrg 38ce62200cSmrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 39ce62200cSmrg.man.$(APP_MAN_SUFFIX): 40ce62200cSmrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 41