# # $Id: Makefile 46 2007-01-11 14:02:41Z rgb $ # #====================================================================== # make svn does a svn commit and creates the timestamp $(SVNTIME) # make sync does a svn commit and runs syncsvn to list of svn hosts #======================================================================= # Name of CVS directory being maintained. DIR = Gods SVNTREE = $(HOME)/Src/svn-tree SVNPATH = $(SVNTREE)/$(DIR) SVNTIME = $(DIR:=.svn.time) svn: echo "New Checkin `date`" >> $(SVNTIME) # Will force a commit and increment revision svn commit . sync: echo "New Checkin `date`" >> $(SVNTIME) # Will force a commit and increment revision svn commit . # Do the commit rsync -avz --delete $(SVNPATH) ganesh.phy.duke.edu:/home/einstein/prof/rgb/Src/svn-tree rsync -avz --delete $(SVNPATH) 209.42.212.5:$(SVNTREE)