Makefile revision 705
70N/A###############################################################################
70N/A#
729N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
729N/A# Use subject to license terms.
70N/A#
70N/A# Permission is hereby granted, free of charge, to any person obtaining a
70N/A# copy of this software and associated documentation files (the
70N/A# "Software"), to deal in the Software without restriction, including
70N/A# without limitation the rights to use, copy, modify, merge, publish,
70N/A# distribute, and/or sell copies of the Software, and to permit persons
70N/A# to whom the Software is furnished to do so, provided that the above
70N/A# copyright notice(s) and this permission notice appear in all copies of
70N/A# the Software and that both the above copyright notice(s) and this
70N/A# permission notice appear in supporting documentation.
70N/A#
70N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
70N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
70N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
70N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
70N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
70N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
70N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
70N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70N/A#
70N/A# Except as contained in this notice, the name of a copyright holder
70N/A# shall not be used in advertising or otherwise to promote the sale, use
70N/A# or other dealings in this Software without prior written authorization
70N/A# of the copyright holder.
70N/A#
70N/A# @(#)Makefile 1.5 08/08/08
70N/A#
70N/A
851N/A# Package name used in tarballs
851N/AMODULE_NAME=xorg-docs
851N/A
851N/A# Version number (used in path names)
851N/AMODULE_VERSION=1.4
98N/A
551N/A# Patches to apply to source after unpacking, in order
321N/ASOURCE_PATCHES= \
321N/A docbook-errors.patch,-p1 \
550N/A X-manpage.patch,-p1 \
550N/A solaris-manpages.patch
213N/A
649N/A# Makefiles require gmake -i to build all targets
304N/AMODULE_MAKE=$(GNUMAKE)
530N/AMODULE_MAKE_SET=yes
425N/AMODULE_MAKEFLAGS= MAKEFLAGS="-i"
425N/A
325N/A# Additional arguments to configure script
493N/AMODULE_CONFIG_OPTS=--enable-txt --disable-pdf --disable-ps --disable-html \
536N/A XORG_SGML_PATH=$(PROTODIR)$(X11_DIR)/share/sgml
456N/A
320N/A# Module dependencies
332N/AMODULE_CONFIGURE_DEPS=$(DOCBOOK2TEXT) $(XORG_DEFS_ENT)
501N/A
231N/A# Need to autoreconf to build with newer util-macros that allows overriding
550N/A# XORG_SGML_PATH until upstream is built with it
347N/AAUTORECONF=yes
532N/A
525N/A### Include common rulesets
463N/Ainclude ../Makefile.inc
493N/A
425N/ASGML_DIR=$(SOURCE_DIR)/sgml
493N/ADOC_DIR=$(PROTODIR)$(X11_DOC_DIR)
791N/AMAN_DIR=$(PROTODIR)$(X11_MAN_DIR)
472N/A
324N/Ainstall_gen::
347N/A mkdir -p $(DOC_DIR) $(MAN_DIR)
310N/A cp -p $(SGML_DIR)/LICENSE.txt $(DOC_DIR)/LICENSE
316N/A cp -p $(SGML_DIR)/RELNOTES.txt $(DOC_DIR)/RELNOTES
474N/A cp -p $(SGML_DIR)/input/XKB-Config.txt $(DOC_DIR)/README.XKB-Config
290N/A cp -p $(SGML_DIR)/input/XKB-Enhancing.txt $(DOC_DIR)/README.XKB-Enhancing
332N/A cp -p $(SGML_DIR)/fonts/fonts.txt $(DOC_DIR)/README.fonts
464N/A cp -p X11.5 $(MAN_DIR)/man5/X11.5
332N/A