Makefile
changeset 45 20c1c8a59eab
parent 37 fd09116d3537
child 57 5efb9c3180d1
equal deleted inserted replaced
44:c460ec8c65e9 45:20c1c8a59eab
    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 $(1)_revisionid=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision))
    66 $(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision))
    67 endef
    67 endef
    68 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project))))
    68 $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project))))
    69 
    69 
    70 sources:
    70 sources:
    71 	mkdir -p sources
    71 	mkdir -p sources