diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-05 19:37:01 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-10 21:23:21 +0100 |
commit | 6c1c06f1c269a75bd36101710c48c55475d91504 (patch) | |
tree | b2c9e1a18a0d252a89b82e80d99eb215729d8665 /solenv/gbuild/Configuration.mk | |
parent | gbuild: get rid of realpath in gb_Foo_set_include (diff) | |
download | core-6c1c06f1c269a75bd36101710c48c55475d91504.tar.gz core-6c1c06f1c269a75bd36101710c48c55475d91504.zip |
gbuild: remove some more realpaths
Where necessary, replace with wildcard, what does not change path.
Diffstat (limited to 'solenv/gbuild/Configuration.mk')
-rw-r--r-- | solenv/gbuild/Configuration.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/solenv/gbuild/Configuration.mk b/solenv/gbuild/Configuration.mk index ffced850a4e6..60f5b81a384a 100644 --- a/solenv/gbuild/Configuration.mk +++ b/solenv/gbuild/Configuration.mk @@ -103,9 +103,9 @@ $(call gb_XcsTarget_get_clean_target,%) : # the .dir is for make 3.81, which ignores trailing / $(dir $(call gb_XcsTarget_get_outdir_target,%))%/.dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(dir $(call gb_XcsTarget_get_outdir_target,%)).dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_XcsTarget_get_outdir_target,%) : $(call gb_Helper_abbreviate_dirs,\ @@ -150,9 +150,9 @@ $(call gb_XcuDataTarget_get_clean_target,%) : # the .dir is for make 3.81, which ignores trailing / $(dir $(call gb_XcuDataTarget_get_outdir_target,))%/.dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(dir $(call gb_XcuDataTarget_get_outdir_target,)).dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_XcuDataTarget_get_outdir_target,%) : $(call gb_Helper_abbreviate_dirs,\ @@ -193,7 +193,7 @@ $(call gb_XcuModuleTarget_get_clean_target,%) : # the .dir is for make 3.81, which ignores trailing / $(dir $(call gb_XcuModuleTarget_get_outdir_target,))%/.dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_XcuModuleTarget_get_outdir_target,%) : $(call gb_Helper_abbreviate_dirs,\ @@ -232,9 +232,9 @@ $(call gb_XcuLangpackTarget_get_clean_target,%) : # the .dir is for make 3.81, which ignores trailing / $(dir $(call gb_XcuLangpackTarget_get_outdir_target,))%/.dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(dir $(call gb_XcuLangpackTarget_get_outdir_target,)).dir : - $(if $(realpath $(dir $@)),,mkdir -p $(dir $@)) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_XcuLangpackTarget_get_outdir_target,%) : $(call gb_Helper_abbreviate_dirs,\ @@ -271,9 +271,9 @@ $(call gb_XcuMergeTarget_get_clean_target,%) : define gb_XcuMergeTarget_XcuMergeTarget $(call gb_XcuMergeTarget_get_target,$(1)) : \ $(call gb_Configuration__get_source,$(2),$(3)/$(4)) \ - $(realpath $(gb_SDFLOCATION)/$(dir $(1))localize.sdf) + $(wildcard $(gb_SDFLOCATION)/$(dir $(1))localize.sdf) $(call gb_XcuMergeTarget_get_target,$(1)) : \ - SDF := $(realpath $(gb_SDFLOCATION)/$(dir $(1))localize.sdf) + SDF := $(wildcard $(gb_SDFLOCATION)/$(dir $(1))localize.sdf) endef |