diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-03-04 17:38:19 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-03-04 17:38:19 -0500 |
commit | 9d86494cb689ef6e8c04f6b569f0d19252731436 (patch) | |
tree | 47314bbcbd1847b19d8de1cd8129f3930d141678 | |
parent | c0d7d9fbb9cd048d18cf00fc22a79fd420ab6140 (diff) |
Makefile: add either `-t` or `-T` to all invocations of cp(1).
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); }; \ |