Makefile revision 910
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster###############################################################################
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Use is subject to license terms.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Permission is hereby granted, free of charge, to any person obtaining a
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# copy of this software and associated documentation files (the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# "Software"), to deal in the Software without restriction, including
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# without limitation the rights to use, copy, modify, merge, publish,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# distribute, and/or sell copies of the Software, and to permit persons
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# to whom the Software is furnished to do so, provided that the above
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# copyright notice(s) and this permission notice appear in all copies of
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# the Software and that both the above copyright notice(s) and this
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# permission notice appear in supporting documentation.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Except as contained in this notice, the name of a copyright holder
7e1f38ed3474c45b25b65d5784e78f72fc25556bDavid Luna# shall not be used in advertising or otherwise to promote the sale, use
7e1f38ed3474c45b25b65d5784e78f72fc25556bDavid Luna# or other dealings in this Software without prior written authorization
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# of the copyright holder.
7e1f38ed3474c45b25b65d5784e78f72fc25556bDavid Luna# Package name used in tarballs
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Version number (used in path names)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Patches to apply to source after unpacking, in order
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Makefiles require gmake -i to build all targets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Additional arguments to configure script
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterMODULE_CONFIG_OPTS=--enable-txt --disable-pdf --disable-ps --disable-html \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster XORG_SGML_PATH=$(PROTODIR)$(X11_DIR)/share/sgml
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Module dependencies
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterMODULE_CONFIGURE_DEPS=$(DOCBOOK2TEXT) $(XORG_DEFS_ENT)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Additional install rules beyond what upstream installs
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster### Include common rulesets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cp -p $(SGML_DIR)/LICENSE.txt $(DOC_DIR)/LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cp -p $(SGML_DIR)/RELNOTES.txt $(DOC_DIR)/RELNOTES
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cp -p $(SGML_DIR)/input/XKB-Config.txt $(DOC_DIR)/README.XKB-Config
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cp -p $(SGML_DIR)/input/XKB-Enhancing.txt $(DOC_DIR)/README.XKB-Enhancing