aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile
index 77c6e51..053c267 100644
--- a/makefile
+++ b/makefile
@@ -2,6 +2,7 @@
JEKYLL_ENV ?= development
# JEKYLL_ENV ?= production
+export JEKYLL_ENV
WEBROOT ?= _site
@@ -35,3 +36,7 @@ $(REPO_META):
clean: FORCE
$(RM) -r $(WEBROOT)
+_dist.tar.gz: FORCE
+ $(MAKE) -E JEKYLL_ENV=production -B build
+ tar -zcf $@ -C _site .
+