Makefile revision 320
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Makefile for X Consolidation Open Source Documentation tools & modules
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Use subject to license terms.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Permission is hereby granted, free of charge, to any person obtaining a
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# copy of this software and associated documentation files (the
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# "Software"), to deal in the Software without restriction, including
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# without limitation the rights to use, copy, modify, merge, publish,
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# distribute, and/or sell copies of the Software, and to permit persons
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# to whom the Software is furnished to do so, provided that the above
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# copyright notice(s) and this permission notice appear in all copies of
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# the Software and that both the above copyright notice(s) and this
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# permission notice appear in supporting documentation.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
e2cf88ac9d753a00c17aa235f6afdc76574fe3a6Quaker Fang# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Except as contained in this notice, the name of a copyright holder
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# shall not be used in advertising or otherwise to promote the sale, use
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# or other dealings in this Software without prior written authorization
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# of the copyright holder.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# @(#)Makefile 1.2 07/02/14
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc###############################################################################
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
da14cebe459d3275048785f25bd869cb09b5307fEric ChengOS_SUBDIRS = \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc docbook-utils \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc xorg-sgml-doctools \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc xorg-docs
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Need to install to proto area by default for inter-package dependencies to
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# work right.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcall: install
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcWorld: clean install
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcclean:
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcinstall:
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcdownload:
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcsubdirs:
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc for i in $(OS_SUBDIRS) ;\
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc do \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/doc/$$i..."; \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc done
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc