From 5a2cf2e273ba7de2d59631a30d9349670a725cb7 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Thu, 27 May 2021 11:32:09 +0200 Subject: [PATCH] port a Makefile fix from Iris --- Makefile.coq.local | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.coq.local b/Makefile.coq.local index 67a468e4..12e6f782 100644 --- a/Makefile.coq.local +++ b/Makefile.coq.local @@ -21,7 +21,8 @@ test: $(TESTFILES:.v=.vo) .PHONY: test COQ_TEST=$(COQTOP) $(COQDEBUG) -batch -test-mode -COQ_MINOR_VERSION:=$(shell echo "$(COQ_VERSION)" | egrep '^[0-9]+\.[0-9]+\b' -o) +# Need to make this a lazy variable (`=` instead of `:=`) since COQ_VERSION is only set later. +COQ_MINOR_VERSION=$(shell echo "$(COQ_VERSION)" | egrep '^[0-9]+\.[0-9]+\b' -o) tests/.coqdeps.d: $(TESTFILES) $(SHOW)'COQDEP TESTFILES' -- GitLab