You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
JEKYLL ?= bundle exec jekyll
|
|
WWW_ROOT ?= $(HOME)/pub/www
|
|
|
|
BUILD_ROOT = $(PWD)/_site
|
|
|
|
site:
|
|
$(JEKYLL) build
|
|
|
|
deploy: site
|
|
rm -rf $(WWW_ROOT)
|
|
cp -r $(BUILD_ROOT) $(WWW_ROOT)
|
|
gzip -9kr $(WWW_ROOT)
|
|
|
|
clean:
|
|
rm -rf $(BUILD_ROOT)
|
|
|
|
all: site
|
|
|