summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9fdca7aa3ce4533d3ce84d77eae4b102189d2810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESTDIR := artifacts
.PHONY: all debug clean install

all: public

public:
	mkdir -p public
	hugo -D

debug:
	hugo server -D

clean:
	rm -rf artifacts
	rm -rf public
	rm -rf resources
	rm -f .hugo_build.lock

install:
	rm -rf $(DESTDIR)
	cp -r public $(DESTDIR)