From 07ee7ac29115ce01075f01165d9474e2526baf26 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 25 Jan 2025 00:15:56 +0100 Subject: add build command for distribution --- makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makefile') 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 . + -- cgit v1.2.3