Blame man/Makefile.am

Packit 56e0ee
#
Packit 56e0ee
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Packit 56e0ee
#
Packit 56e0ee
# Permission is hereby granted, free of charge, to any person obtaining a
Packit 56e0ee
# copy of this software and associated documentation files (the "Software"),
Packit 56e0ee
# to deal in the Software without restriction, including without limitation
Packit 56e0ee
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit 56e0ee
# and/or sell copies of the Software, and to permit persons to whom the
Packit 56e0ee
# Software is furnished to do so, subject to the following conditions:
Packit 56e0ee
#
Packit 56e0ee
# The above copyright notice and this permission notice (including the next
Packit 56e0ee
# paragraph) shall be included in all copies or substantial portions of the
Packit 56e0ee
# Software.
Packit 56e0ee
#
Packit 56e0ee
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit 56e0ee
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit 56e0ee
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Packit 56e0ee
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Packit 56e0ee
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Packit 56e0ee
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Packit 56e0ee
# DEALINGS IN THE SOFTWARE.
Packit 56e0ee
#
Packit 56e0ee
Packit 56e0ee
libmandir = $(LIB_MAN_DIR)
Packit 56e0ee
Packit 56e0ee
libman_PRE =				\
Packit 56e0ee
	Xau.man				\
Packit 56e0ee
	XauDisposeAuth.man		\
Packit 56e0ee
	XauFileName.man			\
Packit 56e0ee
	XauGetAuthByAddr.man		\
Packit 56e0ee
	XauGetBestAuthByAddr.man	\
Packit 56e0ee
	XauLockAuth.man			\
Packit 56e0ee
	XauReadAuth.man			\
Packit 56e0ee
	XauUnlockAuth.man		\
Packit 56e0ee
	XauWriteAuth.man
Packit 56e0ee
Packit 56e0ee
libman_DATA = $(libman_PRE:man=$(LIB_MAN_SUFFIX))
Packit 56e0ee
Packit 56e0ee
EXTRA_DIST = $(libman_PRE)
Packit 56e0ee
Packit 56e0ee
CLEANFILES = $(libman_DATA)
Packit 56e0ee
Packit 56e0ee
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
Packit 56e0ee
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
Packit 56e0ee
Packit 56e0ee
.man.$(LIB_MAN_SUFFIX):
Packit 56e0ee
	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@