From 88226054132aaf1cea0761d6fe8aa463ffb37f45 Mon Sep 17 00:00:00 2001 From: Adrian Friedli Date: Sun, 29 Apr 2018 18:40:29 +0200 Subject: [PATCH] chore: improve Makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3a0a4df..e4e6f54 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,17 @@ SSH_HOST = www.cosin.ch SSH_USER = root TARGET_DIR = /var/www/cosin/ -.PHONY: generate upload clean +.PHONY: generate server upload clean generate: hugo +server: + hugo server + upload: generate - rsync --rsh=ssh -P -rvzc --cvs-exclude --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR) + rsync -P -rvzc --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR) clean: rm -rf $(OUTPUT_DIR)