aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-29 22:13:42 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-29 22:13:42 +0800
commit7eca6631286fda0c1bdfe85d778570b0af4e00d8 (patch)
treec1a2895d4ee72bec4b1dfe6f2b9abc93cfe489a1
parentDon't error out because the symlink exists (diff)
downloadforge-7eca6631286fda0c1bdfe85d778570b0af4e00d8.tar.gz
forge-7eca6631286fda0c1bdfe85d778570b0af4e00d8.tar.zst
forge-7eca6631286fda0c1bdfe85d778570b0af4e00d8.zip
Makefile: No $(shell)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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