aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index b5f594d..46f6162 100644
--- a/makefile
+++ b/makefile
@@ -8,11 +8,12 @@ JEKYLL_BUILD_ARGS += --destination $(WEBROOT)
# Gemfile.lock is used as a proxy for checking if the required gems are
# installed
+GEMS = Gemfile.lock
-build: Gemfile.lock
+build: $(GEMS)
bundle exec jekyll build $(JEKYLL_BUILD_ARGS)
-Gemfile.lock: Gemfile
+$(GEMS): Gemfile
bundle install --quiet
clean: