From 300621ff72be787c5413edf46139b8c45ba0ff45 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 26 Sep 2012 12:14:48 +0200 Subject: 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. --- solenv/gbuild/ExternalPackage.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'solenv/gbuild/ExternalPackage.mk') 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 $@ -- cgit