Makefile.am revision e1e1713c
17a84e134Smrg#
27a84e134Smrg# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
37a84e134Smrg# 
47a84e134Smrg# Permission to use, copy, modify, distribute, and sell this software and its
57a84e134Smrg# documentation for any purpose is hereby granted without fee, provided that
67a84e134Smrg# the above copyright notice appear in all copies and that both that
77a84e134Smrg# copyright notice and this permission notice appear in supporting
87a84e134Smrg# documentation.
97a84e134Smrg# 
107a84e134Smrg# The above copyright notice and this permission notice shall be included
117a84e134Smrg# in all copies or substantial portions of the Software.
127a84e134Smrg# 
137a84e134Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
147a84e134Smrg# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
157a84e134Smrg# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
167a84e134Smrg# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
177a84e134Smrg# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
187a84e134Smrg# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
197a84e134Smrg# OTHER DEALINGS IN THE SOFTWARE.
207a84e134Smrg# 
217a84e134Smrg# Except as contained in this notice, the name of the copyright holders shall
227a84e134Smrg# not be used in advertising or otherwise to promote the sale, use or
237a84e134Smrg# other dealings in this Software without prior written authorization
247a84e134Smrg# from the copyright holders.
257a84e134Smrg# 
267a84e134Smrg
277a84e134Smrglibmandir = $(LIB_MAN_DIR)
287a84e134Smrg
297a84e134Smrglibman_PRE = Xaw.man
307a84e134Smrg
317a84e134Smrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
327a84e134Smrg
337a84e134SmrgEXTRA_DIST = $(libman_PRE)
347a84e134Smrg
357a84e134SmrgCLEANFILES = $(libman_DATA)
367a84e134Smrg
377a84e134SmrgSED = sed
387a84e134Smrg
397a84e134Smrg# Strings to replace in man pages
407a84e134SmrgXORGRELSTRING = @PACKAGE_STRING@
417a84e134Smrg  XORGMANNAME = X Version 11
427a84e134Smrg
437a84e134SmrgMAN_SUBSTS = -e 's/__vendorversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/'
447a84e134Smrg
457a84e134SmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man
467a84e134Smrg
477a84e134Smrg.man.$(LIB_MAN_SUFFIX):
48e1e1713cSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
497a84e134Smrg
50