Makefile revision 919
98N/A###############################################################################
98N/A#
910N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
810N/A# Use is subject to license terms.
98N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# Package name used in tarballs
493N/AMODULE_NAME=xorg-docs
98N/A
98N/A# Version number (used in path names)
851N/AMODULE_VERSION=1.5
98N/A
911N/A# Checksums for upstream tarball
911N/ATARBALL_MD5 = 359ac83ad27eecd5588914ba8715301d
911N/ATARBALL_SHA1 = e4a0fdf848e9d5baa2de625ce74f204de37e0fb0
911N/A
98N/A# Patches to apply to source after unpacking, in order
479N/ASOURCE_PATCHES= \
479N/A solaris-manpages.patch
98N/A
493N/A# Makefiles require gmake -i to build all targets
493N/AMODULE_MAKE=$(GNUMAKE)
493N/AMODULE_MAKE_SET=yes
493N/AMODULE_MAKEFLAGS= MAKEFLAGS="-i"
98N/A
493N/A# Additional arguments to configure script
493N/AMODULE_CONFIG_OPTS=--enable-txt --disable-pdf --disable-ps --disable-html \
851N/A --docdir='$(X11_DOC_DIR)' \
479N/A XORG_SGML_PATH=$(PROTODIR)$(X11_DIR)/share/sgml
98N/A
493N/A# Module dependencies
493N/AMODULE_CONFIGURE_DEPS=$(DOCBOOK2TEXT) $(XORG_DEFS_ENT)
493N/A
910N/A# Additional install rules beyond what upstream installs
910N/AMODULE_ADD_INSTALL_TARGETS=install_docs
910N/A
98N/A### Include common rulesets
98N/Ainclude ../Makefile.inc
98N/A
98N/ASGML_DIR=$(SOURCE_DIR)/sgml
98N/ADOC_DIR=$(PROTODIR)$(X11_DOC_DIR)
479N/AMAN_DIR=$(PROTODIR)$(X11_MAN_DIR)
98N/A
910N/Ainstall_docs: $(INSTALL_DEPS)
810N/A mkdir -p $(DOC_DIR) $(MAN_DIR)/man5
98N/A cp -p $(SGML_DIR)/LICENSE.txt $(DOC_DIR)/LICENSE
98N/A cp -p $(SGML_DIR)/RELNOTES.txt $(DOC_DIR)/RELNOTES
98N/A cp -p $(SGML_DIR)/input/XKB-Config.txt $(DOC_DIR)/README.XKB-Config
98N/A cp -p $(SGML_DIR)/input/XKB-Enhancing.txt $(DOC_DIR)/README.XKB-Enhancing
98N/A cp -p $(SGML_DIR)/fonts/fonts.txt $(DOC_DIR)/README.fonts
493N/A cp -p X11.5 $(MAN_DIR)/man5/X11.5