equal
deleted
inserted
replaced
61 $(1)_revision?=$(lastword $(shell grep $(1) $(src)/revisions.txt)) |
61 $(1)_revision?=$(lastword $(shell grep $(1) $(src)/revisions.txt)) |
62 endef |
62 endef |
63 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revision,$(project)))) |
63 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revision,$(project)))) |
64 |
64 |
65 define get_revisionid |
65 define get_revisionid |
|
66 ifeq ($(origin $(1)_revisionid), undefined) |
66 $(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision)) |
67 $(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision)) |
|
68 endif |
67 endef |
69 endef |
68 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project)))) |
70 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project)))) |
69 |
71 |
70 sources: |
72 sources: |
71 mkdir -p sources |
73 mkdir -p sources |