#
# Copyright (c) 1996 The Regents of the University of Michigan
# All Rights Reserved
#
#	Makefile for gated root directory
#

TMPDIR = /var/tmp
TARNAME = gated-$$VERSION

all:
	@echo "-------------------------------------------------------"
	@echo "Please run make from the src directory. See the INSTALL"
	@echo "file for installation instructions"
	@echo "-------------------------------------------------------"

checkin:
	@VERSION=`cat VERSION`; \
	echo "This is the Alpha version of gated: " $$VERSION; \
	echo "Doing a 'cvs commit'?"; read toto; \
	cvs commit; \
	echo "Doing a 'cvs rtag $$VERSION gated_alpha'?"; read toto; \
	cvs rtag $$VERSION gated_alpha

package:
	@VERSION=`cat VERSION`; \
	echo "This is the Alpha version of gated: " $$VERSION; \
	cd $(TMPDIR); \
	cvs export -r $$VERSION -d $(TARNAME) gated_alpha; \
	tar cvf $(TARNAME).tar $(TARNAME); \
	gzip $(TARNAME).tar

