update my domain
[~bandali/bndl.org] / Makefile
CommitLineData
38037201 1BASE_DIR = $(CURDIR)
e4b339cf 2OUT_DIR = $(BASE_DIR)/site/
38037201
AB
3
4RSYNC_PARAMS = --exclude-from='.rsync-exclude' --delete -avzP
5
6SSH_USER = amin@shemshak.org
2075ef5a 7SSH_DEST = /var/www/bndl.org/
38037201
AB
8
9all: build
10
11build:
12 haunt build
13
14watch: build
15 haunt serve --watch
16
17deploy:
18 rsync $(RSYNC_PARAMS) $(OUT_DIR) $(SSH_USER):$(SSH_DEST)
19
20clean:
21 [ ! -d $(OUT_DIR) ] || rm -rf $(OUT_DIR)
e4b339cf
AB
22
23.PHONY: clean deploy