Kaydet (Commit) 78c7eb35 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

uiconfig is a l10n-relevant target

Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
üst f873ee18
......@@ -31,7 +31,7 @@ $(eval $(call gb_Module_add_l10n_targets,basctl,\
endif
$(eval $(call gb_Module_add_targets,basctl,\
$(eval $(call gb_Module_add_l10n_targets,basctl,\
UIConfig_basicide \
))
......
......@@ -12,11 +12,11 @@ $(eval $(call gb_Module_Module,chart2))
$(eval $(call gb_Module_add_targets,chart2,\
Library_chartcontroller \
Library_chartcore \
UIConfig_chart2 \
))
$(eval $(call gb_Module_add_l10n_targets,chart2,\
AllLangResTarget_chartcontroller \
UIConfig_chart2 \
))
$(eval $(call gb_Module_add_slowcheck_targets,chart2,\
......
......@@ -11,11 +11,11 @@ $(eval $(call gb_Module_Module,cui))
$(eval $(call gb_Module_add_targets,cui,\
Library_cui \
UIConfig_cui \
))
$(eval $(call gb_Module_add_l10n_targets,cui,\
AllLangResTarget_cui \
UIConfig_cui \
))
# vim: set noet sw=4 ts=4:
......@@ -18,13 +18,6 @@ $(eval $(call gb_Module_add_targets,dbaccess,\
Library_dbmm \
Library_dbu \
Library_sdbt \
UIConfig_dbaccess \
UIConfig_dbapp \
UIConfig_dbbrowser \
UIConfig_dbquery \
UIConfig_dbrelation \
UIConfig_dbtable \
UIConfig_dbtdata \
))
$(eval $(call gb_Module_add_l10n_targets,dbaccess,\
......@@ -32,6 +25,13 @@ $(eval $(call gb_Module_add_l10n_targets,dbaccess,\
AllLangResTarget_dbmm \
AllLangResTarget_dbu \
AllLangResTarget_sdbt \
UIConfig_dbaccess \
UIConfig_dbapp \
UIConfig_dbbrowser \
UIConfig_dbquery \
UIConfig_dbrelation \
UIConfig_dbtable \
UIConfig_dbtdata \
))
ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
......
......@@ -20,13 +20,13 @@ $(eval $(call gb_Module_add_targets,desktop,\
$(if $(ENABLE_HEADLESS),,Library_spl) \
Package_branding \
$(if $(CUSTOM_BRAND_DIR),Package_branding_custom) \
UIConfig_deployment \
))
$(eval $(call gb_Module_add_l10n_targets,desktop,\
AllLangResTarget_deployment \
AllLangResTarget_deploymentgui \
AllLangResTarget_dkt \
UIConfig_deployment \
))
ifeq ($(OS),LINUX)
......
......@@ -34,13 +34,13 @@ $(eval $(call gb_Module_add_targets,extensions,\
Library_bib \
Library_dbp \
Library_pcr \
UIConfig_sbibliography \
UIConfig_spropctrlr \
))
$(eval $(call gb_Module_add_l10n_targets,extensions,\
AllLangResTarget_bib \
AllLangResTarget_dbp \
AllLangResTarget_pcr \
UIConfig_sbibliography \
UIConfig_spropctrlr \
))
endif
......
......@@ -61,7 +61,6 @@ $(eval $(call gb_Module_add_targets,filter,\
Package_docbook \
Package_xhtml \
Package_xslt \
UIConfig_xsltdlg \
))
$(eval $(call gb_Module_add_l10n_targets,filter,\
......@@ -69,6 +68,7 @@ $(eval $(call gb_Module_add_l10n_targets,filter,\
AllLangResTarget_pdffilter \
AllLangResTarget_t602filter \
AllLangResTarget_xsltdlg \
UIConfig_xsltdlg \
))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
......
......@@ -26,11 +26,11 @@ $(eval $(call gb_Module_add_targets,framework,\
Library_fwl \
Library_fwm \
Package_dtd \
UIConfig_startmodule \
))
$(eval $(call gb_Module_add_l10n_targets,framework,\
AllLangResTarget_fwe \
UIConfig_startmodule \
))
ifneq ($(OOO_JUNIT_JAR),)
......
......@@ -26,11 +26,11 @@ $(eval $(call gb_Module_add_targets,padmin,\
Executable_spadmin.bin \
Library_spa \
Package_padmin \
UIConfig_spa \
))
$(eval $(call gb_Module_add_l10n_targets,padmin,\
AllLangResTarget_spa \
UIConfig_spa \
))
endif
......
......@@ -13,12 +13,12 @@ $(eval $(call gb_Module_add_targets,reportdesign,\
Library_rpt \
Library_rptui \
Library_rptxml \
UIConfig_dbreport \
))
$(eval $(call gb_Module_add_l10n_targets,reportdesign,\
AllLangResTarget_rpt \
AllLangResTarget_rptui \
UIConfig_dbreport \
))
# deactivated since sb123;
......
......@@ -15,11 +15,11 @@ $(eval $(call gb_Module_add_targets,sc,\
Library_scd \
Library_scfilt \
Library_scui \
UIConfig_scalc \
))
$(eval $(call gb_Module_add_l10n_targets,sc,\
AllLangResTarget_sc \
UIConfig_scalc \
))
ifneq (,$(ENABLE_OPENCL))
......
......@@ -17,12 +17,12 @@ $(eval $(call gb_Module_add_targets,sd,\
Package_opengl \
Package_web \
Package_xml \
UIConfig_sdraw \
UIConfig_simpress \
))
$(eval $(call gb_Module_add_l10n_targets,sd,\
AllLangResTarget_sd \
UIConfig_sdraw \
UIConfig_simpress \
))
ifneq ($(OS),DRAGONFLY)
......
......@@ -21,11 +21,11 @@ $(eval $(call gb_Module_Module,sfx2))
$(eval $(call gb_Module_add_targets,sfx2,\
Library_sfx \
UIConfig_sfx \
))
$(eval $(call gb_Module_add_l10n_targets,sfx2,\
AllLangResTarget_sfx2 \
UIConfig_sfx \
))
$(eval $(call gb_Module_add_check_targets,sfx2,\
......
......@@ -227,7 +227,7 @@ endif
endef
define gb_Module_add_target
$(if $(filter AllLang% Dictionary%,$(2)),$(warning target $(2) should be a l10n target))
$(if $(filter AllLang% Dictionary% UIConfig%,$(2)),$(warning target $(2) should be a l10n target))
$(call gb_Module__read_targetfile,$(1),$(2),target)
$(call gb_Module_get_nonl10n_target,$(1)) : $$(gb_Module_CURRENTTARGET)
......@@ -236,7 +236,7 @@ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef
define gb_Module_add_l10n_target
$(if $(filter AllLang% Dictionary%,$(2)),,$(warning target $(2) should not be a l10n target))
$(if $(filter AllLang% Dictionary% UIConfig%,$(2)),,$(warning target $(2) should not be a l10n target))
$(call gb_Module__read_targetfile,$(1),$(2),target)
$(call gb_Module_get_l10n_target,$(1)) : $$(gb_Module_CURRENTTARGET)
......
......@@ -13,11 +13,11 @@ $(eval $(call gb_Module_Module,starmath))
$(eval $(call gb_Module_add_targets,starmath,\
Library_sm \
Library_smd \
UIConfig_smath \
))
$(eval $(call gb_Module_add_l10n_targets,starmath,\
AllLangResTarget_sm \
UIConfig_smath \
))
$(eval $(call gb_Module_add_check_targets,starmath,\
......
......@@ -21,11 +21,11 @@ $(eval $(call gb_Module_Module,svtools))
$(eval $(call gb_Module_add_targets,svtools,\
Library_svt \
UIConfig_svt \
))
$(eval $(call gb_Module_add_l10n_targets,svtools,\
AllLangResTarget_svt \
UIConfig_svt \
))
ifneq ($(CROSS_COMPILING),YES)
......
......@@ -23,7 +23,6 @@ $(eval $(call gb_Module_add_targets,svx,\
Library_svx \
Library_svxcore \
Library_textconversiondlgs \
UIConfig_svx \
))
$(eval $(call gb_Module_add_l10n_targets,svx,\
......@@ -31,6 +30,7 @@ $(eval $(call gb_Module_add_l10n_targets,svx,\
AllLangResTarget_ofa \
AllLangResTarget_gal \
AllLangResTarget_textconversiondlgs \
UIConfig_svx \
))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
......
......@@ -26,6 +26,10 @@ $(eval $(call gb_Module_add_targets,sw,\
Library_sw \
Library_swd \
Library_swui \
))
$(eval $(call gb_Module_add_l10n_targets,sw,\
AllLangResTarget_sw \
UIConfig_sglobal \
UIConfig_sweb \
UIConfig_swform \
......@@ -35,10 +39,6 @@ $(eval $(call gb_Module_add_targets,sw,\
UIConfig_qa \
))
$(eval $(call gb_Module_add_l10n_targets,sw,\
AllLangResTarget_sw \
))
ifneq ($(DISABLE_SCRIPTING),TRUE)
$(eval $(call gb_Module_add_targets,sw,\
......
......@@ -11,11 +11,11 @@ $(eval $(call gb_Module_Module,uui))
$(eval $(call gb_Module_add_targets,uui,\
Library_uui \
UIConfig_uui \
))
$(eval $(call gb_Module_add_l10n_targets,uui,\
AllLangResTarget_uui \
UIConfig_uui \
))
# vim: set noet sw=4 ts=4:
......@@ -25,11 +25,11 @@ $(eval $(call gb_Module_add_targets,vcl,\
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
StaticLibrary_vclmain \
Executable_ui-previewer) \
UIConfig_vcl \
))
$(eval $(call gb_Module_add_l10n_targets,vcl,\
AllLangResTarget_vcl \
UIConfig_vcl \
))
ifeq ($(GUIBASE),unx)
......
......@@ -13,11 +13,11 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\
Library_xmlsecurity \
Library_xsec_fw \
$(if $(filter-out IOS ANDROID,$(OS)),Library_xsec_xmlsec) \
UIConfig_xmlsec \
))
$(eval $(call gb_Module_add_l10n_targets,xmlsecurity,\
AllLangResTarget_xsec \
UIConfig_xmlsec \
))
#FIXME: ^^^, get nss&libxmlsec building on ios and android
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment