diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-26 12:14:48 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-26 12:19:03 +0200 |
commit | 300621ff72be787c5413edf46139b8c45ba0ff45 (patch) | |
tree | 60ffc89565e469fd8ec02bf5948590e5e8072478 /solenv/gbuild/ExternalPackage.mk | |
parent | 601fd489995e9fd422d8c0fd47d8433413f95eaf (diff) |
Revert "gbuild: use one pattern rule for creating directories"
It does not work with make 3.82 which prefers pattern rules
with longest match, so wrong rules are chosen in workdir.
This reverts commit bc234b4e1103cf8f79a7526ad80dcd9d0b78b89b.
Diffstat (limited to 'solenv/gbuild/ExternalPackage.mk')
-rw-r--r-- | solenv/gbuild/ExternalPackage.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/ExternalPackage.mk b/solenv/gbuild/ExternalPackage.mk index 31a18482c07a..f24a2caeed87 100644 --- a/solenv/gbuild/ExternalPackage.mk +++ b/solenv/gbuild/ExternalPackage.mk @@ -19,6 +19,12 @@ # # Uff, I hope this is at least partially understandable :-) +$(dir $(call gb_ExternalPackage_get_target,%)).dir : + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) + +$(dir $(call gb_ExternalPackage_get_target,%))%/.dir : + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) + $(call gb_ExternalPackage_get_target,%) : $(call gb_Output_announce,$*,$(true),EPK,2) touch $@ |