[Libreoffice-commits] .: mysqlc/source
Andras Timar
timar at kemper.freedesktop.org
Sun Oct 30 14:55:17 PDT 2011
mysqlc/source/makefile.mk | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
New commits:
commit 9ab6ecf33192750cc0353aa806e8ca2479f09224
Author: Andras Timar <atimar at suse.com>
Date: Sun Oct 30 22:55:29 2011 +0100
fix en-US only build
diff --git a/mysqlc/source/makefile.mk b/mysqlc/source/makefile.mk
index faec102..9405def 100644
--- a/mysqlc/source/makefile.mk
+++ b/mysqlc/source/makefile.mk
@@ -214,11 +214,7 @@ COMPONENT_IMAGES= \
# ........ component description ........
# one file for each WITH_LANG token
-DESC_LANGS=$(WITH_LANG)
-.IF "$(DESC_LANGS)" == ""
- DESC_LANGS=en-US
-.ENDIF
-COMPONENT_DESCRIPTIONS=$/$(foreach,lang,$(DESC_LANGS) description-$(lang).txt)
+COMPONENT_DESCRIPTIONS=$/$(foreach,lang,$(alllangiso) description-$(lang).txt)
COMPONENT_DESCRIPTIONS_PACKDEP= \
$(foreach,i,$(COMPONENT_DESCRIPTIONS) $(EXTENSIONDIR)$/$i)
@@ -249,12 +245,18 @@ $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/DataAccess$/Drivers.xc
@@-$(MKDIRHIER) $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/DataAccess
@$(COPY) $< $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/DataAccess$/Drivers.xcu > $(NULLDEV)
+$(COMPONENT_DESCRIPTIONS_PACKDEP) : $(DESCRIPTION)
+
$(DESCRIPTION_SRC): description.xml
+-$(RM) $@
+.IF "$(WITH_LANG)" != ""
$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $@ > $@.new
mv $@.new $@
@$(COPY) $(@:d)/description-*.txt $(EXTENSIONDIR)
+.ELSE
+ $(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $< > $@
+.ENDIF
@$(COPY) description-en-US.txt $(EXTENSIONDIR)
.IF "$(SYSTEM_MYSQL)" != "YES"
More information about the Libreoffice-commits
mailing list