diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2014-08-12 15:32:39 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-08-12 11:36:52 -0500 |
commit | 8791017b0ed7fe47a4367e73e1728ba1d2b15d83 (patch) | |
tree | 6f459dfd356ab3b92789b2ff963fff7f79f6ecdc /extras/CustomTarget_autocorr.mk | |
parent | 56dc7aecc3194dac8012ebc252fb893125f64ebc (diff) |
Simplify make file for autocorr and autotext
Build mimetype file list with other lists
Change-Id: Ia30fd6af9d312e4eb7d68b6460221a55f608a808
Reviewed-on: https://gerrit.libreoffice.org/10887
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'extras/CustomTarget_autocorr.mk')
-rw-r--r-- | extras/CustomTarget_autocorr.mk | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/extras/CustomTarget_autocorr.mk b/extras/CustomTarget_autocorr.mk index d119e9ee264d..88edc8745d9d 100644 --- a/extras/CustomTarget_autocorr.mk +++ b/extras/CustomTarget_autocorr.mk @@ -240,51 +240,7 @@ extras_AUTOCORR_XMLFILES := \ zh-TW/SentenceExceptList.xml \ -extras_AUTOCORR_MIMETYPEFILES := \ - af-ZA/mimetype \ - bg/mimetype \ - ca/mimetype \ - cs/mimetype \ - da/mimetype \ - de/mimetype \ - en-AU/mimetype \ - en-GB/mimetype \ - en-US/mimetype \ - en-ZA/mimetype \ - es/mimetype \ - fa/mimetype \ - fi/mimetype \ - fr/mimetype \ - ga-IE/mimetype \ - hr/mimetype \ - hu/mimetype \ - is/mimetype \ - it/mimetype \ - ja/mimetype \ - ko/mimetype \ - lb-LU/mimetype \ - lt/mimetype \ - mn/mimetype \ - nl-BE/mimetype \ - nl/mimetype \ - pl/mimetype \ - pt-BR/mimetype \ - pt/mimetype \ - ro/mimetype \ - ru/mimetype \ - sk/mimetype \ - sl/mimetype \ - sr-CS/mimetype \ - sr-Latn-CS/mimetype \ - sr-Latn-ME/mimetype \ - sr-Latn-RS/mimetype \ - sr-ME/mimetype \ - sr-RS/mimetype \ - sv/mimetype \ - tr/mimetype \ - vi/mimetype \ - zh-CN/mimetype \ - zh-TW/mimetype \ +extras_AUTOCORR_MIMETYPEFILES := $(foreach lang,$(extras_AUTOCORR_LANGS),$(firstword $(subst :, ,$(lang)))/mimetype) ifneq ($(sort $(foreach file,$(extras_AUTOCORR_XMLFILES),$(firstword $(subst /, ,$(file))))),$(sort $(foreach lang,$(extras_AUTOCORR_LANGS),$(firstword $(subst :, ,$(lang)))))) |