summaryrefslogtreecommitdiff
path: root/solenv/gbuild/ComponentTarget.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-03-05 19:37:01 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-03-10 21:23:21 +0100
commit6c1c06f1c269a75bd36101710c48c55475d91504 (patch)
treeb2c9e1a18a0d252a89b82e80d99eb215729d8665 /solenv/gbuild/ComponentTarget.mk
parent84b3f7b345eabf3995e4d51055e8d4e26479a6e2 (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.mk4
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,$<,$@)