1N/A# The contents of this file are subject to the terms of the 1N/A# Common Development and Distribution License (the "License"). 1N/A# You may not use this file except in compliance with the License. 1N/A# See the License for the specific language governing permissions 1N/A# and limitations under the License. 1N/A# When distributing Covered Code, include this CDDL HEADER in each 1N/A# If applicable, add the following below this CDDL HEADER, with the 1N/A# fields enclosed by brackets "[]" replaced with your own identifying 1N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 1N/A# Use is subject to license terms. 1N/A# ident "%Z%%M% %I% %E% SMI" 1N/A# Because we build more than one copy of perl at the same time we need each 1N/A# to have its own copy of the contrib subdirectory so that the concurrent 1N/A# builds don't interfere with each other. Rather than duplicating the contents 1N/A# of the contrib directory under each version of perl we copy the clearfiles 1N/A# care only to do the copy if necessary so as not to cause unnecessary rebuilds. 1N/A printf 'copy_contrib: usage is <src dir> <dst dir> <module> ...\n' 1N/A# Make sure all the modules have the necessary clearfiles fetched, 1N/A# but only if we have SCCS files (not true for the source product). 1N/A# Now copy all the clearfiles over to the destination directory, but only if 1N/A# the destination file doesn't exist or is older than the source file. 1N/A# Teamware bringover and putback warning about them not being in SCCS. 1N/A # Handle directories. 1N/A # Create destination directory if required. 1N/A # Handle plain files. 1N/A # Anything else isn't handled.