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 /i18npool | |
parent | 84b3f7b345eabf3995e4d51055e8d4e26479a6e2 (diff) |
gbuild: remove some more realpaths
Where necessary, replace with wildcard, what does not change path.
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/Makefile | 4 | ||||
-rw-r--r-- | i18npool/source/collator/Makefile | 4 | ||||
-rw-r--r-- | i18npool/source/indexentry/Makefile | 2 | ||||
-rwxr-xr-x | i18npool/source/localedata/Makefile | 4 | ||||
-rwxr-xr-x | i18npool/source/textconversion/Makefile | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/i18npool/source/breakiterator/Makefile b/i18npool/source/breakiterator/Makefile index b34217a91139..4510a56f82d2 100644 --- a/i18npool/source/breakiterator/Makefile +++ b/i18npool/source/breakiterator/Makefile @@ -37,7 +37,7 @@ data: data/dict_%.cxx : data/dict_%_invis.cxx sed 's/\tconst/\tSAL_DLLPUBLIC_EXPORT const/' $< > $@ -data/dict_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/breakiterator/data)/%.dic data +data/dict_%_invis.cxx : $(SRCDIR)/i18npool/source/breakiterator/data/%.dic data ifeq ($(OS_FOR_BUILD),WNT) $(call gb_Helper_execute,gendict `cygpath -m $<` $@) else @@ -84,7 +84,7 @@ OpenOffice_dat.c : $(subst .brk,_brk.c,$(BRKFILES)) $(GENBRK) -r $< -o $@ # fdo#31271 ")" reclassified in more recent ICU/Unicode Standards -%.txt.p : $(realpath $(SRC_ROOT)/i18npool/source/breakiterator/data)/%.txt +%.txt.p : $(SRCDIR)/i18npool/source/breakiterator/data/%.txt ifeq ($(ICU_RECLASSIFIED_CLOSE_PARENTHESIS),YES) sed "s#\[:LineBreak = Close_Punctuation:\]#\[\[:LineBreak = Close_Punctuation:\] \[:LineBreak = Close_Parenthesis:\]\]#" $< > $@ else diff --git a/i18npool/source/collator/Makefile b/i18npool/source/collator/Makefile index fb9a8dc48964..f81880cd8e65 100644 --- a/i18npool/source/collator/Makefile +++ b/i18npool/source/collator/Makefile @@ -26,7 +26,7 @@ # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # instead of those above. -txtlist := $(wildcard $(realpath $(SRC_ROOT)/i18npool/source/collator/data)/*.txt) +txtlist := $(wildcard $(SRCDIR)/i18npool/source/collator/data/*.txt) all : lrl_include.hxx $(patsubst %.txt,collator_%.cxx,$(notdir $(txtlist))) @@ -35,7 +35,7 @@ include $(GBUILDDIR)/gbuild_simple.mk collator_%.cxx : collator_%_invis.cxx sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ -collator_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/collator/data)/%.txt +collator_%_invis.cxx : $(SRCDIR)/i18npool/source/collator/data/%.txt ifeq ($(OS_FOR_BUILD),WNT) $(call gb_Helper_execute,gencoll_rule `cygpath -m $<` $@ $*) else diff --git a/i18npool/source/indexentry/Makefile b/i18npool/source/indexentry/Makefile index dac5c271cf41..4f86bedfa492 100644 --- a/i18npool/source/indexentry/Makefile +++ b/i18npool/source/indexentry/Makefile @@ -34,7 +34,7 @@ include $(GBUILDDIR)/gbuild_simple.mk %.cxx : %_invis.cxx sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ -%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/indexentry/data)/%.txt +%_invis.cxx : $(SRCDIR)/i18npool/source/indexentry/data/%.txt ifeq ($(OS_FOR_BUILD),WNT) $(call gb_Helper_execute,genindex_data `cygpath -m $<` $@ $*) else diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index d744384c7f1a..73908e35fbca 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -38,11 +38,11 @@ localedata_%.cxx : localedata_%_invis.cxx sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ ifeq ($(OS_FOR_BUILD),WNT) -localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ +localedata_%_invis.cxx : $(SRCDIR)/i18npool/source/localedata/data/%.xml saxparser.rdb \ $(OUTDIR)/bin/saxparser$(gb_Executable_EXT) $(call gb_Helper_execute,saxparser $* `cygpath -m $<` $@ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` -env:LO_LIB_DIR=$(my_file)`cygpath -m $(OUTDIR)/bin`) else -localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ +localedata_%_invis.cxx : $(SRCDIR)/i18npool/source/localedata/data/%.xml saxparser.rdb \ $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT_for_build) $(call gb_Helper_execute,saxparser $* $< $@ $(my_file)$(WORKDIR_FOR_BUILD)/CustomTarget/i18npool/source/localedata/saxparser.rdb $(OUTDIR_FOR_BUILD)/bin/types.rdb -env:LO_LIB_DIR=$(my_file)$(OUTDIR_FOR_BUILD)/lib) endif diff --git a/i18npool/source/textconversion/Makefile b/i18npool/source/textconversion/Makefile index 872c099afefa..368fb23a9245 100755 --- a/i18npool/source/textconversion/Makefile +++ b/i18npool/source/textconversion/Makefile @@ -34,7 +34,7 @@ include $(GBUILDDIR)/gbuild_simple.mk %.cxx : %_invis.cxx sed 's/\(^.*get\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ -%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/textconversion/data)/%.dic +%_invis.cxx : $(SRCDIR)/i18npool/source/textconversion/data/%.dic ifeq ($(OS_FOR_BUILD),WNT) $(call gb_Helper_execute,genconv_dict $* `cygpath -m $<` $@) else |