Mercurial > hg > thermostat-website
changeset 45:3465c28a7b2e
Remove unused files: Makefile, rsync-exclude
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Tue, 24 Jan 2017 10:21:50 -0500 |
parents | 2be05d9e2aa9 |
children | 4980b1410c79 |
files | Makefile rsync-exclude |
diffstat | 2 files changed, 0 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Jan 24 09:30:46 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# -# This is just a deployment helper. To use, type "make deploy" or even just "make" -# You will get a permission error if you are not a member of the "icedtea" group -# on the server, or possibly if your account's shell does not permit the use of -# rsync, It is assumed that your current user has pubkey set up for accessing the -# server. -# -# If your local user is not the same as the remote user, "REMOTE_USER=myuser make" -# will help you out. -# - -# Files matching this pattern will *not* be synced in either direction. -EXCLUDE_FILE = rsync-exclude -RSYNC = rsync -REMOTE_SERVER = icedtea.classpath.org -REMOTE_PATH = /var/lib/thermostat-web -REMOTE_ARGS = --exclude-from=$(EXCLUDE_FILE) -arvz ./ - -ifndef REMOTE_USER - REMOTE_USER=$(USER) -endif - -all: deploy - -deploy: - $(RSYNC) $(REMOTE_ARGS) $(REMOTE_USER)@$(REMOTE_SERVER):$(REMOTE_PATH) -