Makefile.am revision b68e1f86
16df26cacSmrg# 26df26cacSmrg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3b68e1f86Smrg# 4b68e1f86Smrg# Permission is hereby granted, free of charge, to any person obtaining a 5b68e1f86Smrg# copy of this software and associated documentation files (the "Software"), 6b68e1f86Smrg# to deal in the Software without restriction, including without limitation 7b68e1f86Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 8b68e1f86Smrg# and/or sell copies of the Software, and to permit persons to whom the 9b68e1f86Smrg# Software is furnished to do so, subject to the following conditions: 10b68e1f86Smrg# 11b68e1f86Smrg# The above copyright notice and this permission notice (including the next 12b68e1f86Smrg# paragraph) shall be included in all copies or substantial portions of the 13b68e1f86Smrg# Software. 14b68e1f86Smrg# 15b68e1f86Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16b68e1f86Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17b68e1f86Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18b68e1f86Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19b68e1f86Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20b68e1f86Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21b68e1f86Smrg# DEALINGS IN THE SOFTWARE. 226df26cacSmrg# 236df26cacSmrg 246df26cacSmrgdrivermandir = $(DRIVER_MAN_DIR) 256df26cacSmrg 266df26cacSmrgdriverman_PRE = @DRIVER_NAME@.man 276df26cacSmrg 286df26cacSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) 296df26cacSmrg 306df26cacSmrgEXTRA_DIST = @DRIVER_NAME@.man 316df26cacSmrg 326df26cacSmrgCLEANFILES = $(driverman_DATA) 336df26cacSmrg 346df26cacSmrgSED = sed 356df26cacSmrg 366df26cacSmrg# Strings to replace in man pages 376df26cacSmrgXORGRELSTRING = @PACKAGE_STRING@ 386df26cacSmrg XORGMANNAME = X Version 11 396df26cacSmrg 406df26cacSmrgMAN_SUBSTS = \ 416df26cacSmrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 426df26cacSmrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 436df26cacSmrg -e 's|__xservername__|Xorg|g' \ 446df26cacSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 456df26cacSmrg -e 's|__projectroot__|$(prefix)|g' \ 466df26cacSmrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 476df26cacSmrg -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ 486df26cacSmrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 496df26cacSmrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 506df26cacSmrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 516df26cacSmrg 526df26cacSmrgSUFFIXES = .$(DRIVER_MAN_SUFFIX) .man 536df26cacSmrg 546df26cacSmrg.man.$(DRIVER_MAN_SUFFIX): 556df26cacSmrg sed $(MAN_SUBSTS) < $< > $@ 56