Browse Source

fixed makefile

proposta-home
putro 3 years ago
parent
commit
75377df46a
  1. 8
      Makefile
  2. 0
      content/blog/001-comunicato_sgombero.md
  3. 0
      content/blog/002-welcome_pelican.md

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

0
content/news/001-comunicato_sgombero.md → content/blog/001-comunicato_sgombero.md

0
content/news/002-welcome_pelican.md → content/blog/002-welcome_pelican.md

Loading…
Cancel
Save