fixed makefile
This commit is contained in:
parent
ceacdb8ccf
commit
75377df46a
8
Makefile
8
Makefile
|
@ -82,11 +82,13 @@ ssh_upload: publish
|
|||
rsync_upload: publish
|
||||
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --cvs-exclude --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
|
||||
|
||||
HOST=$(shell hostname)
|
||||
|
||||
production: publish
|
||||
ifeq "$(HOSTNAME)" "zaphoda"
|
||||
cp -R $(OUTPUTDIR)/* $(SSH_TARGET_DIR)/
|
||||
ifeq ($(HOST),zaphoda)
|
||||
cp -R $(OUTPUTDIR)/* $(SSH_TARGET_DIR)/
|
||||
else
|
||||
echo "devi essere su zaphoda per lanciare questo comando"
|
||||
@echo "devi essere su zaphoda per lanciare questo comando"
|
||||
endif
|
||||
|
||||
.PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload
|
||||
|
|
Loading…
Reference in New Issue
Block a user