summaryrefslogtreecommitdiff
path: root/buildlib/copy.mak
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/copy.mak')
-rw-r--r--buildlib/copy.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildlib/copy.mak b/buildlib/copy.mak
index 973c4853b..892b74bc4 100644
--- a/buildlib/copy.mak
+++ b/buildlib/copy.mak
@@ -17,6 +17,8 @@ $(LOCAL)-LIST := $(addprefix $(TO)/,$(SOURCE))
doc: $($(LOCAL)-LIST)
veryclean: veryclean/$(LOCAL)
+MKDIRS += $(dir $($(LOCAL)-LIST))
+
$($(LOCAL)-LIST) : $(TO)/% : %
echo Installing $< to $(@D)
cp $< $(@D)