Makefile revision 118
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# CDDL HEADER START
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# The contents of this file are subject to the terms of the
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# Common Development and Distribution License (the "License").
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# You may not use this file except in compliance with the License.
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# See the License for the specific language governing permissions
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# and limitations under the License.
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# When distributing Covered Code, include this CDDL HEADER in each
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# If applicable, add the following below this CDDL HEADER, with the
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# CDDL HEADER END
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync# Use is subject to license terms.
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync# pkg/*.py -> /usr/lib/python2.4/vendor-packages/pkg/
c785dbab313731d1f4662b4684c0808cc14703dbvboxsyncLINKPYTHONPKG = /usr/lib/python2.4/vendor-packages/pkg
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYACTIONMODS:modules/actions/%=$(ROOTPYTHONPKG)/actions/%)
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYSERVERMODS:modules/server/%=$(ROOTPYTHONPKG)/server/%)
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYPUBLISHMODS:modules/publish/%=$(ROOTPYTHONPKG)/publish/%)
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYCLIENTMODS:modules/client/%=$(ROOTPYTHONPKG)/client/%)
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYACTIONMODS:modules/actions/%=$(ROOTPYTHONPKG)/actions/%)
c785dbab313731d1f4662b4684c0808cc14703dbvboxsync $(PYBUNDLEMODS:modules/bundle/%=$(ROOTPYTHONPKG)/bundle/%)
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync# XXX link is a developer target to connect the local machine to the current
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync# repository's working copy's versions of the commands, modules, and supporting
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync ln -s $(PWD)/modules /usr/lib/python2.4/vendor-packages/pkg
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync# Invoke all known modules with tests.
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync# XXX Invoke the bundle tests.
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync # $(PYTHON) $(LINKPYTHONPKG)/bundle/__init__.py a_sysv_pkg
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync # $(PYTHON) $(LINKPYTHONPKG)/bundle/__init__.py a_tarball
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync rm -f $@; install -f $(ROOTPYTHONPKG)/actions -m 0444 $<
24b9d11a24f96f5da0351475e0b6486ec4cb0d30vboxsync rm -f $@; install -f $(ROOTPYTHONPKG)/server -m 0444 $<
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync rm -f $@; install -f $(ROOTPYTHONPKG)/publish -m 0444 $<
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync rm -f $@; install -f $(ROOTPYTHONPKG)/client -m 0444 $<
3c3a5ab35783f4d31cb5d3a15db9daadeb804daavboxsync rm -f $@; install -f $(ROOTPYTHONPKG)/bundle -m 0444 $<