blob: ea13048bd2f0086eca8fb32f9ec346ed2b7de276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
DEST="tronto.net:/var/www/htdocs/sebastiano.tronto.net"
DESTGEMINI="tronto.net:/var/gemini"
RSYNC=$$( (command -V rsync 2>&1 > /dev/null && echo rsync) || echo openrsync)
all: clean
./build.sh
clean:
rm -rf http gemini
mkdir -p http gemini
deploy: syncgemini synchttp
syncgemini:
${RSYNC} -rv --delete --rsync-path=openrsync gemini/ ${DESTGEMINI}
synchttp:
${RSYNC} -rv --delete --rsync-path=openrsync http/ ${DEST}
.PHONY: all clean deploy syncgemini synchttp
|