aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 89143047f09fb7671da02a54fa8ad423c1b8488c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEST="sebastiano@tronto.net:/var/www/htdocs/sebastiano.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 --rsync-path=openrsync http/ ${DEST}

.PHONY: all clean deploy synchttp

Generated with cgit - Back to sebastiano.tronto.net