177683534Smrg#
277683534Smrg# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
377683534Smrg#
477683534Smrg# Permission is hereby granted, free of charge, to any person obtaining a
577683534Smrg# copy of this software and associated documentation files (the "Software"),
677683534Smrg# to deal in the Software without restriction, including without limitation
777683534Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
877683534Smrg# and/or sell copies of the Software, and to permit persons to whom the
977683534Smrg# Software is furnished to do so, subject to the following conditions:
1077683534Smrg#
1177683534Smrg# The above copyright notice and this permission notice (including the next
1277683534Smrg# paragraph) shall be included in all copies or substantial portions of the
1377683534Smrg# Software.
1477683534Smrg#
1577683534Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1677683534Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1777683534Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1877683534Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1977683534Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2077683534Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2177683534Smrg# DEALINGS IN THE SOFTWARE.
2277683534Smrg#
2377683534Smrg
2477683534Smrgappmandir = $(APP_MAN_DIR)
2577683534Smrgappman_PRE = luit.man
2677683534Smrgappman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
2777683534Smrg
2877683534SmrgEXTRA_DIST = $(appman_PRE)
2977683534SmrgCLEANFILES = $(appman_DATA)
3077683534SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
3177683534SmrgMAN_SUBSTS += -e 's|__locale_alias__|$(LOCALEALIASFILE)|g'
3277683534Smrg
3377683534Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
3477683534Smrg.man.$(APP_MAN_SUFFIX):
3577683534Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
36