diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-04 18:59:59 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-05 23:02:41 +0100 |
commit | 90491a073c5b5faee782ad5eab63276fda2342e6 (patch) | |
tree | aace6f9174bc4653fca28b413fe4a85f33030f8a /solenv/gbuild/Deliver.mk | |
parent | 408822b54724f8170a1296ddd67e50d8291c8ee1 (diff) |
gbuild: do not call mkdir -p in gb_Deliver__deliver
Rather create new order-only dependencies on directories where
targets should be delivered.
On cygwin this is much faster.
Diffstat (limited to 'solenv/gbuild/Deliver.mk')
-rw-r--r-- | solenv/gbuild/Deliver.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/Deliver.mk b/solenv/gbuild/Deliver.mk index 33ef1825a288..79e40414b516 100644 --- a/solenv/gbuild/Deliver.mk +++ b/solenv/gbuild/Deliver.mk @@ -56,11 +56,11 @@ endef ifeq ($(strip $(gb_Deliver_GNUCOPY)),) define gb_Deliver__deliver -mkdir -p $(dir $(2)) && $(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch -r $(1) $(2) +$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch -r $(1) $(2) endef else define gb_Deliver__deliver -mkdir -p $(dir $(2)) && $(gb_Deliver_GNUCOPY) $(if $(gb_Deliver_CLEARONDELIVER),--remove-destination) $(if $(gb_Deliver_HARDLINK),--link) --no-dereference --force --preserve=timestamps $(1) $(2) +$(gb_Deliver_GNUCOPY) $(if $(gb_Deliver_CLEARONDELIVER),--remove-destination) $(if $(gb_Deliver_HARDLINK),--link) --no-dereference --force --preserve=timestamps $(1) $(2) endef endif |