fixed Makefile make production to remove old content
This commit is contained in:
parent
449050bcee
commit
b3ca843ab8
2
Makefile
2
Makefile
|
@ -86,7 +86,7 @@ HOST=$(shell hostname)
|
||||||
|
|
||||||
production: publish
|
production: publish
|
||||||
ifeq ($(HOST),zaphoda)
|
ifeq ($(HOST),zaphoda)
|
||||||
cp -R $(OUTPUTDIR)/* $(SSH_TARGET_DIR)/
|
rsync --update --delete -avz $(OUTPUTDIR)/ $(SSH_TARGET_DIR)
|
||||||
else
|
else
|
||||||
@echo "devi essere su zaphoda per lanciare questo comando"
|
@echo "devi essere su zaphoda per lanciare questo comando"
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user