Makefile
changeset 62 d545546e8735
parent 59 872aa7d30b4f
child 79 a8b434605895
--- 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))))