Mercurial > hg > thermostat-website-stg
changeset 70:08b4353e186a
Remove unused files: Makefile, rsync-exclude
Merge from thermostat-website repository. Revision: 3465c28a7b2e
http://icedtea.classpath.org/hg/thermostat-website/rev/3465c28a7b2e
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Fri, 03 Feb 2017 10:00:54 -0500 |
parents | 75cc9213bf76 |
children | 3c2ad16f9ff7 |
files | Makefile rsync-exclude |
diffstat | 2 files changed, 0 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Feb 03 09:59: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) -