aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4352b9f5b490a0c6f08e4614eefab0d5f41aa45e (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 -rf 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

Generated with cgit - Back to sebastiano.tronto.net