Makefile revision 729
1cd2872b696c4bdfb7694da53883d02de3360e12violette###############################################################################
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette#
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Use subject to license terms.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Permission is hereby granted, free of charge, to any person obtaining a
1cd2872b696c4bdfb7694da53883d02de3360e12violette# copy of this software and associated documentation files (the
1cd2872b696c4bdfb7694da53883d02de3360e12violette# "Software"), to deal in the Software without restriction, including
1cd2872b696c4bdfb7694da53883d02de3360e12violette# without limitation the rights to use, copy, modify, merge, publish,
1cd2872b696c4bdfb7694da53883d02de3360e12violette# distribute, and/or sell copies of the Software, and to permit persons
1cd2872b696c4bdfb7694da53883d02de3360e12violette# to whom the Software is furnished to do so, provided that the above
1cd2872b696c4bdfb7694da53883d02de3360e12violette# copyright notice(s) and this permission notice appear in all copies of
1cd2872b696c4bdfb7694da53883d02de3360e12violette# the Software and that both the above copyright notice(s) and this
328d033cb3289d78d02e947892030adf31659595violette# permission notice appear in supporting documentation.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
054848749d97535e9e1d5da4504079ac684f141bviolette# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1cd2872b696c4bdfb7694da53883d02de3360e12violette# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1cd2872b696c4bdfb7694da53883d02de3360e12violette# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1cd2872b696c4bdfb7694da53883d02de3360e12violette# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
1cd2872b696c4bdfb7694da53883d02de3360e12violette# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
054848749d97535e9e1d5da4504079ac684f141bviolette# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
054848749d97535e9e1d5da4504079ac684f141bviolette# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
054848749d97535e9e1d5da4504079ac684f141bviolette# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Except as contained in this notice, the name of a copyright holder
1cd2872b696c4bdfb7694da53883d02de3360e12violette# shall not be used in advertising or otherwise to promote the sale, use
1cd2872b696c4bdfb7694da53883d02de3360e12violette# or other dealings in this Software without prior written authorization
1cd2872b696c4bdfb7694da53883d02de3360e12violette# of the copyright holder.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# @(#)Makefile 1.5 08/08/08
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Package name used in tarballs
1cd2872b696c4bdfb7694da53883d02de3360e12violetteMODULE_NAME=xorg-docs
1cd2872b696c4bdfb7694da53883d02de3360e12violette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Version number (used in path names)
1cd2872b696c4bdfb7694da53883d02de3360e12violetteMODULE_VERSION=1.4
1cd2872b696c4bdfb7694da53883d02de3360e12violette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Patches to apply to source after unpacking, in order
1cd2872b696c4bdfb7694da53883d02de3360e12violetteSOURCE_PATCHES= \
1cd2872b696c4bdfb7694da53883d02de3360e12violette docbook-errors.patch,-p1 \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette X-manpage.patch,-p1 \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette solaris-manpages.patch
# Makefiles require gmake -i to build all targets
MODULE_MAKE=$(GNUMAKE)
MODULE_MAKE_SET=yes
MODULE_MAKEFLAGS= MAKEFLAGS="-i"
# Additional arguments to configure script
MODULE_CONFIG_OPTS=--enable-txt --disable-pdf --disable-ps --disable-html \
XORG_SGML_PATH=$(PROTODIR)$(X11_DIR)/share/sgml
# Module dependencies
MODULE_CONFIGURE_DEPS=$(DOCBOOK2TEXT) $(XORG_DEFS_ENT)
# Need to autoreconf to build with newer util-macros that allows overriding
# XORG_SGML_PATH until upstream is built with it
AUTORECONF=yes
### Include common rulesets
include ../Makefile.inc
SGML_DIR=$(SOURCE_DIR)/sgml
DOC_DIR=$(PROTODIR)$(X11_DOC_DIR)
MAN_DIR=$(PROTODIR)$(X11_MAN_DIR)
install_gen::
mkdir -p $(DOC_DIR) $(MAN_DIR)
cp -p $(SGML_DIR)/LICENSE.txt $(DOC_DIR)/LICENSE
cp -p $(SGML_DIR)/RELNOTES.txt $(DOC_DIR)/RELNOTES
cp -p $(SGML_DIR)/input/XKB-Config.txt $(DOC_DIR)/README.XKB-Config
cp -p $(SGML_DIR)/input/XKB-Enhancing.txt $(DOC_DIR)/README.XKB-Enhancing
cp -p $(SGML_DIR)/fonts/fonts.txt $(DOC_DIR)/README.fonts
cp -p X11.5 $(MAN_DIR)/man5/X11.5