From 87e5af6397728c056abc72663e74b51e49691ddd Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 11 Apr 2022 17:12:42 -0300 Subject: Makefile: Use $(JEKYLL) and include JEKYLL_ENV=production --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 279d702..b5c85e4 100644 --- a/Makefile +++ b/Makefile @@ -93,12 +93,13 @@ clean: $(derived-assets) \ torrent-files.txt files.mk deps.mk +JEKYLL = JEKYLL_ENV=production jekyll public: $(derived-assets) - jekyll build - -deploy: all - rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete + $(JEKYLL) build run: all open 'http://localhost:4000' - jekyll serve + $(JEKYLL) serve + +deploy: all + rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete -- cgit v1.2.3