Makefile.am revision 9f606849
1# 2# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3# 4# Permission to use, copy, modify, distribute, and sell this software and its 5# documentation for any purpose is hereby granted without fee, provided that 6# the above copyright notice appear in all copies and that both that 7# copyright notice and this permission notice appear in supporting 8# documentation. 9# 10# The above copyright notice and this permission notice shall be included 11# in all copies or substantial portions of the Software. 12# 13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 14# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 16# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 17# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 18# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 19# OTHER DEALINGS IN THE SOFTWARE. 20# 21# Except as contained in this notice, the name of the copyright holders shall 22# not be used in advertising or otherwise to promote the sale, use or 23# other dealings in this Software without prior written authorization 24# from the copyright holders. 25# 26 27libmandir = $(LIB_MAN_DIR) 28 29libman_PRE = \ 30 Xv.man \ 31 XvFreeAdaptorInfo.man \ 32 XvFreeEncodingInfo.man \ 33 XvGetPortAttribute.man \ 34 XvGetStill.man \ 35 XvGetVideo.man \ 36 XvGrabPort.man \ 37 XvPortNotify.man \ 38 XvPutStill.man \ 39 XvPutVideo.man \ 40 XvQueryAdaptors.man \ 41 XvQueryBestSize.man \ 42 XvQueryEncodings.man \ 43 XvQueryExtension.man \ 44 XvSelectPortNotify.man \ 45 XvSelectVideoNotify.man \ 46 XvSetPortAttribute.man \ 47 XvStopVideo.man \ 48 XvUngrabPort.man \ 49 XvVideoNotify.man 50 51libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) 52 53EXTRA_DIST = $(libman_PRE) 54 55CLEANFILES = $(libman_DATA) 56 57SED = sed 58 59# Strings to replace in man pages 60XORGRELSTRING = @PACKAGE_STRING@ 61 XORGMANNAME = X Version 11 62 63MAN_SUBSTS = \ 64 -e 's/__vendorversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \ 65 -e 's/__libmansuffix__/$(LIB_MAN_SUFFIX)/g' 66 67SUFFIXES = .$(LIB_MAN_SUFFIX) .man 68 69.man.$(LIB_MAN_SUFFIX): 70 sed $(MAN_SUBSTS) < $< > $@ 71