From bc5011eb42aae21cefbe857eb502107677cca9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Thu, 30 Jan 2025 10:08:43 +0100 Subject: [PATCH] Fix make touch `shard.lock` when `SHARDS=false` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5c9793f4..48c74472 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ lib: shard.lock $(SHARDS) install || (curl -L $(MOLINILLO_URL) | tar -xzf - -C lib/molinillo --strip-components=1) shard.lock: shard.yml - [ $(SHARDS) = false ] || $(SHARDS) update + ([ $(SHARDS) = false ] && touch $@) || $(SHARDS) update man/%.gz: man/% gzip -c -9 $< > $@