equal
deleted
inserted
replaced
26 # |
26 # |
27 # Anything that we pull from a Mercurial repo must have a HG_REPO{_[0-9]+} and |
27 # Anything that we pull from a Mercurial repo must have a HG_REPO{_[0-9]+} and |
28 # HG_REV{_[0-9]+} to match. |
28 # HG_REV{_[0-9]+} to match. |
29 # |
29 # |
30 |
30 |
31 TMP_SUFFIXES = $(subst HG_REPO_,, $(filter HG_REPO_%, $(.VARIABLES))) |
31 HG_SUFFIXES = $(subst HG_REPO_,, $(filter HG_REPO_%, $(.VARIABLES))) |
32 |
32 |
33 define mercurial-rules |
33 define mercurial-rules |
34 ifdef HG_REPO$(1) |
34 ifdef HG_REPO$(1) |
35 ifdef HG_REV$(1) |
35 ifdef HG_REV$(1) |
36 |
36 |
70 # |
70 # |
71 # Define the rules required to download any source archives and augment any |
71 # Define the rules required to download any source archives and augment any |
72 # cleanup macros. |
72 # cleanup macros. |
73 # |
73 # |
74 $(eval $(call mercurial-rules,)) |
74 $(eval $(call mercurial-rules,)) |
75 $(foreach suffix, $(TMP_SUFFIXES), $(eval $(call mercurial-rules,_$(suffix)))) |
75 $(foreach suffix, $(HG_SUFFIXES), $(eval $(call mercurial-rules,_$(suffix)))) |