########################################################################
#                 copyright 2001, Amoco Production Company             #
#                             All Rights Reserved                      #
#                     an affiliate of BP America Inc.                  #
########################################################################

#
#	gmake for shell scripts in ${DEPTROOT}/bin
#
include ${DEPTROOT}/etc/gmake.init

Scripts		:=	usp_d_stamp mbs_d_stamp mancopy execopy

SafeFiles	:=	${Scripts} Makefile

targets: 

.PHONY:	remotes safe all

all:	safe remotes

remotes:	RemoteCopies

clean:	safe
	-rm ${wildcard ShdCpy*} RemoteCopies RemoteMakes

RemoteCopies: ${Scripts}
	shadowcopy -v $? && touch RemoteCopies

safe:	.safe.${jdate}.Z

.safe.${jdate}.Z:	${SafeFiles}
	${MakeSafe}
