summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Extension.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-02-24 15:49:04 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-06 10:27:29 +0100
commit2da1e35b5a818f50ecc7be4eb222ce11770898ea (patch)
tree729c5019e1cc447422189cd70a76dbf4a326efa4 /solenv/gbuild/Extension.mk
parent154cc802ebf3a391e20bb2ac9e6884047ee3bade (diff)
simplify rule
Diffstat (limited to 'solenv/gbuild/Extension.mk')
-rw-r--r--solenv/gbuild/Extension.mk21
1 files changed, 3 insertions, 18 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk
index 7b81fc3c4480..22f593e2a3a1 100644
--- a/solenv/gbuild/Extension.mk
+++ b/solenv/gbuild/Extension.mk
@@ -62,25 +62,14 @@ $(call gb_Extension_get_workdir,%)/description.xml :
else
$(call gb_Extension_get_workdir,%)/description.xml : $(gb_Extension_XRMEXTARGET)
$(call gb_Output_announce,$*/description.xml,$(true),XRM,3)
-ifeq ($(OS_FOR_BUILD),WNT)
$(call gb_Helper_abbreviate_dirs_native,\
mkdir -p $(call gb_Extension_get_workdir,$*) && \
$(gb_Extension_XRMEXCOMMAND) \
-p $(PRJNAME) \
- -i $(shell cygpath -m $(filter %.xml,$^)) \
- -o $(shell cygpath -m $@) \
+ -i $(call gb_Helper_native_path,$(filter %.xml,$^)) \
+ -o $(call gb_Helper_native_path,$@) \
-m $(SDF) \
-l all)
-else
- $(call gb_Helper_abbreviate_dirs_native,\
- mkdir -p $(call gb_Extension_get_workdir,$*) && \
- $(gb_Extension_XRMEXCOMMAND) \
- -p $(PRJNAME) \
- -i $(filter %.xml,$^) \
- -o $@ \
- -m $(SDF) \
- -l all)
-endif
endif
# rule to create oxt package in workdir
@@ -187,11 +176,7 @@ $(call gb_Extension_get_target,$(1)) : $(call gb_Extension_get_workdir,$(1))/$(2
$(call gb_Extension_get_workdir,$(1))/$(2) : $(3) $(gb_Extension_HELPEXTARGET)
$(call gb_Output_announce,$(2),$(true),XHP,3)
mkdir -p $$(dir $$@)
-ifeq ($(OS_FOR_BUILD),WNT)
- $(gb_Extension_HELPEXCOMMAND) -i $$(shell cygpath -m $$<) -o $$(shell cygpath -m $$@) -l $(4) -m $$(SDF3)
-else
- $(gb_Extension_HELPEXCOMMAND) -i $$< -o $$@ -l $(4) -m $$(SDF3)
-endif
+ $(gb_Extension_HELPEXCOMMAND) -i $$(call gb_Helper_native_path,$$<) -o $$(call gb_Helper_native_path,$$@) -l $(4) -m $$(SDF3)
endef