change upload command
This commit is contained in:
parent
17a34bb236
commit
ba6f115b8e
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -22,8 +22,11 @@ all: build
|
|||
build: $(patsubst %,$(BUILDDIR)/%,$(FONTS) $(CSS) $(PAGES) $(MEDIA))
|
||||
|
||||
upload: build
|
||||
@rsync -rPLzh --delete -e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
||||
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
||||
@rsync --recursive --partial --progress --copy-links \
|
||||
--compress --human-readable --hard-links --size-only \
|
||||
--delete --delete-after \
|
||||
--rsh='ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
||||
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
||||
|
||||
$(BUILDDIR)/%: %
|
||||
@echo $*
|
||||
|
|
Loading…
Add table
Reference in a new issue