SYNCTO= shattuck@gibbs.engr.ccny.cuny.edu:/website/teaching SYNCFROM= /cygdrive/c/gweb/teaching RSOPTS= -rlDtvz --progress --exclude-from='rsync-exclude.txt' .SUFFIXES: .PHONY: syncto syncfrom forceto forcefrom forcedelto forcedelfrom syncto: rsync $(RSOPTS) --update $(SYNCFROM)/ $(SYNCTO) @echo @echo %%%%%%%%%%%%%%%%%%%%%%%% @echo % run fixperm on gibbs % @echo %%%%%%%%%%%%%%%%%%%%%%%% syncfrom: rsync $(RSOPTS) --update $(SYNCTO)/ $(SYNCFROM) forceto: rsync $(RSOPTS) $(SYNCFROM)/ $(SYNCTO) @echo @echo %%%%%%%%%%%%%%%%%%%%%%%% @echo % run fixperm on gibbs % @echo %%%%%%%%%%%%%%%%%%%%%%%% forcefrom: rsync $(RSOPTS) $(SYNCTO)/ $(SYNCFROM) forcedelto: rsync $(RSOPTS) --delete $(SYNCFROM)/ $(SYNCTO) @echo @echo %%%%%%%%%%%%%%%%%%%%%%%% @echo % run fixperm on gibbs % @echo %%%%%%%%%%%%%%%%%%%%%%%% forcedelfrom: rsync $(RSOPTS) --delete $(SYNCTO)/ $(SYNCFROM)