]> j8takagi.net git repositories - yacasl2.git/commitdiff
.gitのないディレクトリでのエラーを抑制
authorj8takagi <j8takagi@nifty.com>
Mon, 25 May 2026 14:05:28 +0000 (23:05 +0900)
committerj8takagi <j8takagi@nifty.com>
Mon, 25 May 2026 14:05:28 +0000 (23:05 +0900)
Makefile

index d8b3b5c953b4b5e0093f391b3739f724404fd651..0055a6caca95a4ef6c08898200d194fe5ce3d056 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,9 +27,9 @@ libdir ?= $(prefix)/share
 
 VERSION := $(shell $(CAT) VERSION)
 
-VERSIONGITREF := $(shell $(GIT) show-ref -s --tags $(VERSION))
+VERSIONGITREF = $(shell $(GIT) show-ref -s --tags $(VERSION))
 
-MAINGITREF := $(shell $(GIT) show-ref -s refs/heads/main)
+MAINGITREF = $(shell $(GIT) show-ref -s refs/heads/main)
 
 VERSIONFILES := include/version.h \
         test/system/casl2_opt/opt_v/0.txt \