diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-13 02:12:48 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-14 16:45:02 +0100 |
commit | 04dead1c6b9fd8ea24b27d2c5824ae889a2fac66 (patch) | |
tree | d6eded8f961d23f042e012f0644dac1fe2b0a32b /extensions | |
parent | 75748b5c800cea2170e9bb26430ff6a9fc55c608 (diff) |
make l10n buildable separately
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
the product
- packagers should then be able to build l10n and non-l10n parts of the
product independently, thus:
- enable quicker rebuilds
- distribution of load
- updates to l10n without a full rebuild
- security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
upstream -- while this exsists in distros, the number of test
scenarios for this would explode upstream
Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863
Conflicts:
filter/Module_filter.mk
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Module_extensions.mk | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/extensions/Module_extensions.mk b/extensions/Module_extensions.mk index 20fc58ceefa1..4f3019100004 100644 --- a/extensions/Module_extensions.mk +++ b/extensions/Module_extensions.mk @@ -10,9 +10,6 @@ $(eval $(call gb_Module_Module,extensions)) $(eval $(call gb_Module_add_targets,extensions,\ - AllLangResTarget_abp \ - AllLangResTarget_scn \ - AllLangResTarget_upd \ Library_res \ $(if $(filter IOS ANDROID,$(OS)),, \ Library_abp \ @@ -20,6 +17,12 @@ $(eval $(call gb_Module_add_targets,extensions,\ Library_scn) \ )) +$(eval $(call gb_Module_add_l10n_targets,extensions,\ + AllLangResTarget_abp \ + AllLangResTarget_scn \ + AllLangResTarget_upd \ +)) + ifneq ($(filter-out IOS ANDROID,$(OS)),) $(eval $(call gb_Module_add_targets,extensions,\ Library_ldapbe2 \ @@ -28,15 +31,17 @@ endif ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) $(eval $(call gb_Module_add_targets,extensions,\ - AllLangResTarget_bib \ - AllLangResTarget_dbp \ - AllLangResTarget_pcr \ Library_bib \ Library_dbp \ Library_pcr \ UIConfig_sbibliography \ UIConfig_spropctrlr \ )) +$(eval $(call gb_Module_add_l10n_targets,extensions,\ + AllLangResTarget_bib \ + AllLangResTarget_dbp \ + AllLangResTarget_pcr \ +)) endif ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) @@ -46,11 +51,13 @@ $(eval $(call gb_Module_add_targets,extensions,\ ifeq ($(ENABLE_ONLINE_UPDATE),TRUE) $(eval $(call gb_Module_add_targets,extensions,\ - AllLangResTarget_updchk \ Configuration_updchk \ Library_updatecheckui \ Library_updchk \ )) +$(eval $(call gb_Module_add_l10n_targets,extensions,\ + AllLangResTarget_updchk \ +)) $(eval $(call gb_Module_add_check_targets,extensions,\ CppunitTest_extensions_test_update \ |