From 7eca6631286fda0c1bdfe85d778570b0af4e00d8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 29 Mar 2025 22:13:42 +0800 Subject: Makefile: No $(shell) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 109ba0a..063c336 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ forge: $(filter-out forge,$(wildcard *)) version.go hookc/*.c hookc/hookc hookc/hookc: version.go: - printf 'package main\n\nconst VERSION = "%s"\n' $(shell git describe --tags --always --dirty) > $@ + printf 'package main\n\nconst VERSION = "%s"\n' `git describe --tags --always --dirty` > $@ clean: $(RM) forge version.go vendor -- cgit v1.2.3