~hristoast/hristoast

ref: e889a81072a5918ad692459572b1f91382b8fe84 hristoast/Makefile -rw-r--r-- 394 bytes
e889a810Hristos N. Triantafillou No stream controls when it's off 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
proj_dir := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))

.DEFAULT_GOAL:= rebuild-staging

build-site:
	soupault --verbose

clean:
	rm -fr $(proj_dir)/build

deploy:
	rsync -aPv --delete build/ hristoast@hristoast:~/html/

deploy-staging:
	rsync -aPv --delete build/ hristoast@hristoast:~/staging/

rebuild: clean build-site deploy

rebuild-staging: clean build-site deploy-staging