From e71b29488ab3dc9732a1215364b1927887bf61ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 23 Oct 2021 15:35:27 +0200 Subject: Makefile: Rename build target --- Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 97be6f5..e1b9bab 100644 --- a/Makefile +++ b/Makefile @@ -4,18 +4,16 @@ REMOTE := root@dc0 REMOTE_DIR := /var/www/htdocs/rgoncalves.se .PHONY: all \ - website \ + site \ clean -all: clean website - -website: clean +site: clean ./bin/ssg ./bin/rssg -deploy: website - rsync -e ssh -avz --delete ./out/ $(REMOTE):$(REMOTE_DIR) - ssh $(REMOTE) chown -R www:www $(REMOTE_DIR) - clean: - rm -r out tmp + +deploy: site + rsync -e ssh -avz --delete ./out/ $(REMOTE):$(REMOTE_DIR) + ssh $(REMOTE) chown -R www:www $(REMOTE_DIR) -- cgit v1.2.3