blob: b5f594d68981bc94e177227a5af7e7621839f30a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
JEKYLL_ENV ?= development
# JEKYLL_ENV ?= production
WEBROOT ?= _site
JEKYLL_BUILD_ARGS += --quiet
JEKYLL_BUILD_ARGS += --destination $(WEBROOT)
# Gemfile.lock is used as a proxy for checking if the required gems are
# installed
build: Gemfile.lock
bundle exec jekyll build $(JEKYLL_BUILD_ARGS)
Gemfile.lock: Gemfile
bundle install --quiet
clean:
$(RM) -r $(WEBROOT)
|