summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9cfa9c0d38a6d800e0b3ab57bd7224aaf734f404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
THEME_DIR := themes/hugo-book
HUGO := hugo

# Check if the submodule needs to be updated
setup:
	@git lfs install && git lfs pull
	@git submodule update --init --recursive

run: setup
	$(HUGO) server --noHTTPCache

compile: setup
	$(HUGO) --minify

.PHONY: setup run compile