summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ccc0843..3c2e808 100644
--- a/Makefile
+++ b/Makefile
@@ -136,7 +136,7 @@ build/extract/git/%: # magic foreach loop
build/extract/svn/%: build/download/svn/%
$(RM) -r '$@'
$(MKDIRS) '$(@D)'
- $(CPR) '$<' '$@' || { $(RM) -r '$@'; $(FAIL); }
+ $(CPR) -T '$<' '$@' || { $(RM) -r '$@'; $(FAIL); }
$(TOUCH) '$@'
# tar
@@ -151,7 +151,7 @@ build/extract/tar/%: # magic foreach loop
# union
build/extract/union/%: # magic foreach loop
$(RM) -r '$@'
- $(MKDIRS) '$@' && $(CPR) $(foreach d,$(filter build/extract/%,$^),'$d'/*) '$@/' || { $(RM) -r '$@'; $(FAIL); }
+ $(MKDIRS) '$@' && $(CPR) -t $(foreach d,$(filter build/extract/%,$^),'$d'/*) '$@/' || { $(RM) -r '$@'; $(FAIL); }
$(TOUCH) '$@'
# magic foreach loop (git, tar)
@@ -178,7 +178,7 @@ $(addprefix build/workdir/,$(packages)): \
build/workdir/%:
$(RM) -r '$@'
$(MKDIRS) '$(@D)'
- $(CPR) '$<' '$@' || { $(RM) -r '$@'; $(FAIL); }
+ $(CPR) -T '$<' '$@' || { $(RM) -r '$@'; $(FAIL); }
cd '$@' && \
for patch in $(sort $(wildcard $(top)/rules/$*/*.patch)); do \
$(PATCH) -p1 < $$patch || { $(RM) -r '$@'; $(FAIL); }; \