summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: b1502a3b64f5329cd6041e7c167f5b6cfd688648 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
server: theme
	xdg-open "http://localhost:1313/"
	hugo version
	hugo -D server

deploy: theme
	hugo
	rsync -va --progress --delete --rsync-path="/usr/bin/openrsync" public/ dante@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