...
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 20 May 2022 15:17:33 +0200
changeset 62 d545546e8735
parent 61 13ad062ac22a
child 63 4bdf5784f8b2
...
Makefile
--- a/Makefile	Fri May 20 14:54:14 2022 +0200
+++ b/Makefile	Fri May 20 15:17:33 2022 +0200
@@ -63,7 +63,9 @@
 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revision,$(project))))
 
 define get_revisionid
+ifeq ($(origin $(1)_revisionid), undefined)
 $(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision))
+endif
 endef
 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project))))