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