summaryrefslogtreecommitdiff
path: root/Makefile.shared
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-12-04 12:27:46 +0000
committerTor Lillqvist <tml@novell.com>2007-12-04 12:27:46 +0000
commit1141bfb94ea00c69098dfcaa36a97314e23acd1d (patch)
tree3b58daabf2b42354e5efb65f3b59b8e5da4e25c7 /Makefile.shared
parentd145d5b3b569c502da97ffe4016f2d1e64d70785 (diff)
Check OOO_LANGS when deciding whether to use the "Localize" add-on pseudo-distro's patches or not.
* Makefile.shared: Check OOO_LANGS when deciding whether to use the "Localize" add-on pseudo-distro's patches or not. Don't just check if sw/source/ui/app/localize.sdf file is there, as the l10n tarball is downloaded and unpacked always on Win32, for some reason.
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.shared b/Makefile.shared
index a6d302a39..f9d2bec92 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -62,7 +62,7 @@ $(STAMP_DIR)/patch.apply : $(top_srcdir)/patches/apply.pl \
if test -d $(OOBUILDDIR)/binfilter ; then \
FLAGS="$$FLAGS --distro=Binfilter"; \
fi ; \
- if grep localize.sdf $(OOBUILDDIR)/sw/source/ui/app/localize.sdf > /dev/null 2>&1 ; then \
+ if test $(OOO_LANGS) != en-US ; then \
FLAGS="$$FLAGS --distro=Localize"; \
fi ; \
chmod +x $(TOOLSDIR)/patches/apply.pl && $(TOOLSDIR)/patches/apply.pl $(APPLY_DIR) $(OOBUILDDIR) $$FLAGS --tag=$(CVSTAG) ;