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/ComponentTarget.mk | |
parent | 84b3f7b345eabf3995e4d51055e8d4e26479a6e2 (diff) |
gbuild: remove some more realpaths
Where necessary, replace with wildcard, what does not change path.
Diffstat (limited to 'solenv/gbuild/ComponentTarget.mk')
-rw-r--r-- | solenv/gbuild/ComponentTarget.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/ComponentTarget.mk b/solenv/gbuild/ComponentTarget.mk index 9eb0ea55a7d3..71e733e80eb9 100644 --- a/solenv/gbuild/ComponentTarget.mk +++ b/solenv/gbuild/ComponentTarget.mk @@ -36,7 +36,7 @@ $(call gb_Helper_abbreviate_dirs_native,\ mkdir -p $(dir $(1)) && \ $(gb_XSLTPROC) --nonet --stringparam uri \ '$(subst \d,$$,$(COMPONENTPREFIX))$(LIBFILENAME)' -o $(1) \ - $(gb_ComponentTarget_XSLTCOMMANDFILE) $(realpath $(2))) + $(gb_ComponentTarget_XSLTCOMMANDFILE) $(2)) endef @@ -54,7 +54,7 @@ $(call gb_ComponentTarget_get_target,%) : # the .dir is for make 3.81, which ignores trailing / $(dir $(call gb_ComponentTarget_get_outdir_target,))%/.dir : - mkdir -p $(dir $@) + $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_ComponentTarget_get_outdir_target,%) : $(call gb_Deliver_deliver,$<,$@) |