aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a28df8e0dc1e14f5c65c0bc73ed3195f1fc32b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEST="sebastiano@new.tronto.net:/var/www/new.tronto.net"
RSYNC=$$( (command -V rsync 2>&1 > /dev/null && echo rsync) || echo openrsync)

all: clean
	./build.sh

clean:
	rm -rf http
	mkdir -p http

deploy: synchttp

synchttp:
	${RSYNC} -rv --delete http/ ${DEST}

.PHONY: all clean deploy synchttp

Generated with cgit - Back to sebastiano.tronto.net