Skip to content

Commit

Permalink
Makefile for server upload
Browse files Browse the repository at this point in the history
  • Loading branch information
schuay committed Mar 26, 2012
1 parent 5da7ace commit dab3fb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.ssh-cfg
12 changes: 12 additions & 0 deletions Makefile
@@ -0,0 +1,12 @@
HOST = ub-handin

RSYNC = rsync
SSH = ssh

SFLAGS = -F ".ssh-cfg"
RFLAGS = --chmod=o-rwxs,Dug+x,u+rw,g+r -e "$(SSH) $(SFLAGS)" \
-r --delete --progress

all:
$(RSYNC) $(RFLAGS) test/ $(HOST):test/

0 comments on commit dab3fb4

Please sign in to comment.