Commit caf25f02 authored by Michael Shigorin's avatar Michael Shigorin

image.in: pkg profile handling functions

These are alike to lists/groups ones.
parent 1f13b3a0
......@@ -13,6 +13,10 @@ list = $(addprefix $(PKGDIR)/,$(call rlist,$(1)))
rgroup = $(1:%=groups/%.directory)
group = $(addprefix $(PKGDIR)/,$(call rgroup,$(1)))
# prefix/suffix pkg profile name to form a path (relative/absolute)
rprofile = $(1:%=profiles/%.directory)
profile = $(addprefix $(PKGDIR)/,$(call rprofile,$(1)))
# map first argument (a function) onto second one (an argument list)
map = $(foreach a,$(2),$(call $(1),$(a)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment