From f98ffc5be6ec51149e9a44b366d14565d2598829 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Mon, 9 Apr 2012 19:50:58 +0200 Subject: use gb_Helper_make_url here --- i18npool/CustomTarget_localedata.mk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'i18npool') diff --git a/i18npool/CustomTarget_localedata.mk b/i18npool/CustomTarget_localedata.mk index c5d23588ace0..c21fcd9ed5dc 100644 --- a/i18npool/CustomTarget_localedata.mk +++ b/i18npool/CustomTarget_localedata.mk @@ -34,17 +34,13 @@ $(call gb_CustomTarget_get_target,i18npool/localedata) : \ $(patsubst %.xml,$(IPLD)/localedata_%.cxx, \ $(notdir $(wildcard $(SRCDIR)/i18npool/source/localedata/data/*.xml))) -# TODO: move this to gbuild/ -my_file := file://$(if $(filter $(OS_FOR_BUILD),WNT),/) -my_components := component/sax/source/expatwrap/expwrap.component - $(IPLD)/localedata_%.cxx : $(SRCDIR)/i18npool/source/localedata/data/%.xml \ $(IPLD)/saxparser.rdb $(call gb_Executable_get_target_for_build,saxparser) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SAX,1) $(call gb_Helper_abbreviate_dirs_native, \ $(call gb_Helper_execute,saxparser) $* $< $@.tmp \ - $(my_file)$(IPLD)/saxparser.rdb $(OUTDIR_FOR_BUILD)/bin/types.rdb \ - -env:LO_LIB_DIR=$(my_file)$(gb_Helper_OUTDIR_FOR_BUILDLIBDIR) \ + $(call gb_Helper_make_url,$(IPLD)/saxparser.rdb) $(OUTDIR_FOR_BUILD)/bin/types.rdb \ + -env:LO_LIB_DIR=$(call gb_Helper_make_url,$(gb_Helper_OUTDIR_FOR_BUILDLIBDIR)) \ $(if $(findstring s,$(MAKEFLAGS)),> /dev/null 2>&1) && \ sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $@.tmp > $@ && \ rm $@.tmp) @@ -58,6 +54,6 @@ $(IPLD)/saxparser.rdb : $(IPLD)/saxparser.input \ $(IPLD)/saxparser.input :| $(IPLD)/.dir $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1) - echo '$(my_components)' > $@ + echo 'component/sax/source/expatwrap/expwrap.component' > $@ # vim: set noet sw=4 ts=4: -- cgit v1.2.3