- add "make commit" target

This commit is contained in:
Bryce Denney 2001-06-17 05:25:56 +00:00
parent 9ceeb28177
commit 587dd94ba2

View File

@ -1,6 +1,6 @@
###################################################################
# Makefile
# $Id: Makefile,v 1.1 2001-06-17 05:20:17 bdenney Exp $
# $Id: Makefile,v 1.2 2001-06-17 05:25:56 bdenney Exp $
#
# Runs a cvs update on the source forge shell account.
# This will only work if you are a developer on the Bochs
@ -13,7 +13,12 @@ REMOTE_HOST=shell.sf.net
BOCHS_PATH=/home/groups/b/bo/bochs
HTDOCS=$(BOCHS_PATH)/htdocs
remote_update:
remote_update::
if test "`whoami`" = bryce; then sfuser=bdenney; \
else sfuser=`whoami`; fi; \
$(SSH) $$sfuser@$(REMOTE_HOST) "cd $(HTDOCS) && cvs update -Ad"
do_commit::
cvs commit
commit:: do_commit remote_update