2001-06-17 09:20:17 +04:00
|
|
|
###################################################################
|
|
|
|
# Makefile
|
2002-11-29 23:54:14 +03:00
|
|
|
# $Id: Makefile,v 1.7 2002-11-29 20:54:14 uninet Exp $
|
2001-06-17 09:20:17 +04:00
|
|
|
#
|
|
|
|
# Runs a cvs update on the source forge shell account.
|
|
|
|
# This will only work if you are a developer on the Bochs
|
|
|
|
# project, and have set up secure shell correctly.
|
|
|
|
#
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
SSH=ssh -x
|
2002-11-29 23:54:14 +03:00
|
|
|
REMOTE_HOST=sf
|
2001-06-17 09:20:17 +04:00
|
|
|
BOCHS_PATH=/home/groups/b/bo/bochs
|
|
|
|
HTDOCS=$(BOCHS_PATH)/htdocs
|
|
|
|
|
2001-06-17 09:25:56 +04:00
|
|
|
remote_update::
|
2001-06-17 09:20:17 +04:00
|
|
|
if test "`whoami`" = bryce; then sfuser=bdenney; \
|
|
|
|
else sfuser=`whoami`; fi; \
|
2001-06-21 08:55:43 +04:00
|
|
|
if test "`whoami`" = tbutler; then sfuser=uninet; fi; \
|
2001-06-17 09:20:17 +04:00
|
|
|
$(SSH) $$sfuser@$(REMOTE_HOST) "cd $(HTDOCS) && cvs update -Ad"
|
2001-06-17 09:25:56 +04:00
|
|
|
|
|
|
|
do_commit::
|
|
|
|
cvs commit
|
|
|
|
|
2001-06-17 17:32:16 +04:00
|
|
|
commit:: update do_commit remote_update
|
2001-06-17 09:30:52 +04:00
|
|
|
|
|
|
|
update::
|
|
|
|
cvs update -A -d
|
|
|
|
|
|
|
|
diff:
|
|
|
|
cvs diff
|