aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-10-23 15:35:27 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-10-23 15:35:27 +0200
commite71b29488ab3dc9732a1215364b1927887bf61ad (patch)
tree3ca40779a952a767bcb1860c3ddc964346140e36 /Makefile
parent0749f6c3c47f96e5141126b6adb7248dccec6581 (diff)
downloadrgoncalves.se-e71b29488ab3dc9732a1215364b1927887bf61ad.tar.gz
Makefile: Rename build target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files 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)
remember that computers suck.