aboutsummaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/build.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/profiles/build.mk b/profiles/build.mk
index 9aff102..72cd371 100644
--- a/profiles/build.mk
+++ b/profiles/build.mk
@@ -1,14 +1,14 @@
+
# Macros #######################################################################
define profile
-unpack: profile-$1
-
-.PHONY: profile-$1
-profile-$1: | $(path)/$1
+$(topdir)/profiles/$1: $(topdir)/profiles/$1/.token ;
-$(path)/$1: $(path)/$1.tar
- tar -C $(path) -xvf $$<
+$(topdir)/profiles/$1/.token: $(path)/$1.tar
+ $$(call label,PROFILE $1)\
+ tar -C $(path) $(if $(Q),,-v) -xf $$< \
+ && touch $$@
clean::
$(RM) -r $(path)/$1