aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 388efaf74330065c31994f3c1ea60fda6911284b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
check:
	sh aux/assert-shellcheck.sh
	sh aux/workflow/assert-todos.sh
	sh scripts/assert-spelling.sh
	sh scripts/extract-translations.sh
	sh scripts/apply-translations.sh

clean:
	rm -rf public/ _site/

NAME_UC = website
NAME = $(NAME_UC)
MAILING_LIST = public-inbox
OUT = public

public:
	JEKYLL_ENV=production jekyll build -d $(OUT) --trace
	sh aux/workflow/TODOs.sh $(NAME_UC) $(NAME) $(MAILING_LIST)

publish: public
	rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete

.PHONY: clean check