2001-06-17 05:20:17 +00:00
|
|
|
###################################################################
|
|
|
|
# Makefile
|
2004-01-12 21:33:23 +00:00
|
|
|
# $Id: Makefile,v 1.10 2004-01-12 21:33:23 cbothamy Exp $
|
2001-06-17 05:20:17 +00: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
|
2004-01-12 21:33:23 +00:00
|
|
|
REMOTE_HOST=shell.sf.net
|
2001-06-17 05:20:17 +00:00
|
|
|
BOCHS_PATH=/home/groups/b/bo/bochs
|
|
|
|
HTDOCS=$(BOCHS_PATH)/htdocs
|
|
|
|
|
2001-06-17 05:25:56 +00:00
|
|
|
remote_update::
|
2004-01-12 21:24:35 +00:00
|
|
|
sfuser=`whoami`; \
|
|
|
|
if test "`whoami`" = bryce; then sfuser=bdenney; fi; \
|
2001-06-21 04:55:43 +00:00
|
|
|
if test "`whoami`" = tbutler; then sfuser=uninet; fi; \
|
2004-01-12 21:24:35 +00:00
|
|
|
if test "`whoami`" = chris; then sfuser=cbothamy; fi; \
|
2004-01-12 21:25:05 +00:00
|
|
|
$(SSH) $$sfuser@$(REMOTE_HOST) "cd $(HTDOCS) && cvs update -Ad"
|
2001-06-17 05:25:56 +00:00
|
|
|
|
|
|
|
do_commit::
|
|
|
|
cvs commit
|
|
|
|
|
2001-06-17 13:32:16 +00:00
|
|
|
commit:: update do_commit remote_update
|
2001-06-17 05:30:52 +00:00
|
|
|
|
|
|
|
update::
|
|
|
|
cvs update -A -d
|
|
|
|
|
|
|
|
diff:
|
|
|
|
cvs diff
|