summaryrefslogtreecommitdiffstats
path: root/librelogo
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-20 09:20:31 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-21 18:57:17 +0200
commit36b3bcefcf13996610239f95b1dce9f291bde95d (patch)
tree4796801ca25a41422381fce137fee5c21f3fef64 /librelogo
parentblind fix for MacOS X build problem (diff)
downloadcore-36b3bcefcf13996610239f95b1dce9f291bde95d.tar.gz
core-36b3bcefcf13996610239f95b1dce9f291bde95d.zip
Some changes in qtz handling
Executalbes, which work one language, generat qtz by own. (stringex,helpex,treex,propex) So these executables can generate qtz without po file when use them with qtz, call them with "-m" flag without parameter. Change-Id: I56c34db7151dc3ef0ce1c85ed607719e4cbb5e92
Diffstat (limited to 'librelogo')
-rw-r--r--librelogo/CustomTarget_librelogo.mk27
1 files changed, 18 insertions, 9 deletions
diff --git a/librelogo/CustomTarget_librelogo.mk b/librelogo/CustomTarget_librelogo.mk
index 92c8504a0551..6affb4a367fa 100644
--- a/librelogo/CustomTarget_librelogo.mk
+++ b/librelogo/CustomTarget_librelogo.mk
@@ -28,7 +28,7 @@ $(1) : $(2) \
endef
ifneq ($(strip $(gb_WITH_LANG)),)
-librelogo_LANGS := $(filter-out qtz,$(filter-out en-US,$(gb_WITH_LANG)))
+librelogo_LANGS := $(filter-out en-US,$(gb_WITH_LANG))
$(eval $(foreach lang,$(librelogo_LANGS),$(call librelogo_Properties_Properties,$(subst -,_,$(lang)),$(lang))))
endif
@@ -37,14 +37,23 @@ $(librelogo_DIR)/LibreLogo_%.properties : \
| $(librelogo_DIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRP,1)
$(call gb_Helper_abbreviate_dirs, \
- MERGEINPUT=`$(gb_MKTEMP)` && \
- echo $(POFILE) > $${MERGEINPUT} && \
- $(call gb_Executable_get_command,propex) \
- -i $(SOURCE) \
- -o $@ \
- -m $${MERGEINPUT} \
- -l $(LANG) && \
- rm -rf $${MERGEINPUT} \
+ $(if $(filter-out qtz,$(LANG)), \
+ MERGEINPUT=`$(gb_MKTEMP)` && \
+ echo $(POFILE) > $${MERGEINPUT} && \
+ $(call gb_Executable_get_command,propex) \
+ -i $(SOURCE) \
+ -o $@ \
+ -m $${MERGEINPUT} \
+ -l $(LANG) && \
+ rm -rf $${MERGEINPUT} \
+ , \
+ $(call gb_Executable_get_command,propex) \
+ -i $(SOURCE) \
+ -o $@ \
+ -m \
+ -l $(LANG) \
+ ) \
)
+
# vim:set shiftwidth=4 tabstop=4 noexpandtab: