From 29c0235e2ab95fd101695b1006a71201cf6f3cf2 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Sun, 17 Jun 2001 05:20:17 +0000 Subject: [PATCH] - added Makefile with only one target, to SSH to source forge and run cvs update on the site --- sfsite/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sfsite/Makefile diff --git a/sfsite/Makefile b/sfsite/Makefile new file mode 100644 index 000000000..61da793cc --- /dev/null +++ b/sfsite/Makefile @@ -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"