From: j8takagi Date: Mon, 25 May 2026 14:05:28 +0000 (+0900) Subject: .gitのないディレクトリでのエラーを抑制 X-Git-Url: https://www.j8takagi.net/gitweb?a=commitdiff_plain;h=d247de8efe3ef87210ea84073a5545474b392210;p=yacasl2.git .gitのないディレクトリでのエラーを抑制 --- diff --git a/Makefile b/Makefile index d8b3b5c..0055a6c 100644 --- 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 \