summaryrefslogtreecommitdiff
path: root/alpine.mk
diff options
context:
space:
mode:
Diffstat (limited to 'alpine.mk')
-rwxr-xr-xalpine.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine.mk b/alpine.mk
index 6ce5fc4..083cdb5 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -94,7 +94,7 @@ REPOS_DIRSTAMP := $(DESTDIR)/stamp.repos
$(REPOS_DIRSTAMP): $(SOURCE_APKBUILDS)
@echo "==> repositories: $(REPOS)"
@buildrepo -p -a $(APORTS_DIR) -d $(REPOS_DIR) $(REPOS)
- @touch $@
+ @mkdir -p $(dir $@) && touch $@
%.apk: $(REPOS_DIRSTAMP)