aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e1b9bab6315cd8c1338f5365b863c829c3fc1490 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.POSIX:

REMOTE := root@dc0
REMOTE_DIR := /var/www/htdocs/rgoncalves.se

.PHONY: all \
	site \
	clean

site: clean
	./bin/ssg
	./bin/rssg

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.