- added Makefile with only one target, to SSH to source forge and

run cvs update on the site
This commit is contained in:
Bryce Denney 2001-06-17 05:20:17 +00:00
parent 673fe6f684
commit 29c0235e2a

19
sfsite/Makefile Normal file
View File

@ -0,0 +1,19 @@
###################################################################
# Makefile
# $Id: Makefile,v 1.1 2001-06-17 05:20:17 bdenney Exp $
#
# 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
REMOTE_HOST=shell.sf.net
BOCHS_PATH=/home/groups/b/bo/bochs
HTDOCS=$(BOCHS_PATH)/htdocs
remote_update:
if test "`whoami`" = bryce; then sfuser=bdenney; \
else sfuser=`whoami`; fi; \
$(SSH) $$sfuser@$(REMOTE_HOST) "cd $(HTDOCS) && cvs update -Ad"