[Libreoffice-commits] .: Branch 'libreoffice-3-5' - i18npool/source

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Dec 13 00:34:33 PST 2011


 i18npool/source/localedata/Makefile |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 6f51f8136e7be64060190e56480189cc8df548b1
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Dec 10 19:14:00 2011 +0100

    simplify this, use gb_Helper_abbreviate_dirs_native instead of cygpath

diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile
index da83ff4..d744384 100755
--- a/i18npool/source/localedata/Makefile
+++ b/i18npool/source/localedata/Makefile
@@ -48,13 +48,8 @@ localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)
 endif
 
 saxparser.rdb : saxparser.input
-ifeq ($(OS_FOR_BUILD),WNT)
-	$(gb_XSLTPROC) --nonet --stringparam prefix `cygpath -m $(OUTDIR)/xml/` -o $@ \
-		$(SOLARENV)/bin/packcomponents.xslt saxparser.input
-else
-	$(gb_XSLTPROC) --nonet --stringparam prefix $(OUTDIR)/xml/ -o $@ \
-		$(SOLARENV)/bin/packcomponents.xslt saxparser.input
-endif
+	$(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) --nonet --stringparam prefix $(OUTDIR)/xml/ -o $@ \
+		$(SOLARENV)/bin/packcomponents.xslt saxparser.input)
 
 saxparser.input :
 	echo '<list><filename>$(my_components)</filename></list>' > $@


More information about the Libreoffice-commits mailing list