summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 094f8883bd371e34b64353767081cef04462eed4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server: theme
	hugo version
	hugo -D server

deploy: theme
	hugo
	rsync -va --progress --delete --rsync-path="/usr/bin/openrsync" public/ blog@lambda.cx:/var/www/htdocs/blog.lambda.cx/
	rm -r public

theme:
	git submodule update --init --recursive

update:
	git submodule update --remote --merge

.PHONY: deploy servre theme update