aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 63cd48bf26e872e6f42dfd25af5b00b32741c9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEST="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