Bug#822617: Missing symlinks to match locales
Here comes the patch.
diff -Nru libreoffice-dictionaries-5.1.0/debian/changelog libreoffice-dictionaries-5.1.0/debian/changelog
--- libreoffice-dictionaries-5.1.0/debian/changelog 2016-03-18 13:15:08.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/changelog 2016-05-01 10:34:11.000000000 +0000
@@ -1,3 +1,15 @@
+libreoffice-dictionaries (1:5.1.0-1ubuntu2.1~ppa) xenial; urgency=medium
+
+ * d/rules:
+ Renamed dictionary files to be recognized by LibreOffice. This
+ reduces the need for symlinks, and eliminates unnecessary noise in
+ spellcheck menus.
+ * d/hunspell-*.links, d/hyphen-*.links, d/mythes-*.links:
+ Added symlinks so more dictionaries are recognized based on the
+ locale (LP: #1574745).
+
+ -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com> Sun, 01 May 2016 12:34:00 +0200
+
libreoffice-dictionaries (1:5.1.0-1ubuntu2) xenial; urgency=medium
* Breaks/Replaces openoffice.org-hyphenation << 0.9 for several packages,
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-bn.links libreoffice-dictionaries-5.1.0/debian/hunspell-bn.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-bn.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-bn.links 2016-05-01 09:50:07.000000000 +0000
@@ -0,0 +1,2 @@
+usr/share/hunspell/bn_BD.aff usr/share/hunspell/bn_IN.aff
+usr/share/hunspell/bn_BD.dic usr/share/hunspell/bn_IN.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-es.links libreoffice-dictionaries-5.1.0/debian/hunspell-es.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-es.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-es.links 2016-05-01 09:51:09.000000000 +0000
@@ -0,0 +1,40 @@
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_AR.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_AR.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_BO.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_BO.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_CL.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_CL.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_CO.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_CO.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_CR.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_CR.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_CU.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_CU.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_DO.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_DO.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_EC.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_EC.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_GT.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_GT.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_HN.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_HN.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_MX.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_MX.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_NI.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_NI.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_PA.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_PA.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_PE.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_PE.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_PR.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_PR.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_PY.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_PY.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_SV.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_SV.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_US.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_US.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_UY.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_UY.dic
+usr/share/hunspell/es_ES.aff usr/share/hunspell/es_VE.aff
+usr/share/hunspell/es_ES.dic usr/share/hunspell/es_VE.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-it.links libreoffice-dictionaries-5.1.0/debian/hunspell-it.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-it.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-it.links 2016-05-01 09:52:07.000000000 +0000
@@ -0,0 +1,2 @@
+usr/share/hunspell/it_IT.aff usr/share/hunspell/it_CH.aff
+usr/share/hunspell/it_IT.dic usr/share/hunspell/it_CH.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-kmr.links libreoffice-dictionaries-5.1.0/debian/hunspell-kmr.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-kmr.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-kmr.links 2016-05-01 09:54:08.000000000 +0000
@@ -0,0 +1,4 @@
+usr/share/hunspell/kmr_Latn.aff usr/share/hunspell/ckb_IQ.aff
+usr/share/hunspell/kmr_Latn.dic usr/share/hunspell/ckb_IQ.dic
+usr/share/hunspell/kmr_Latn.aff usr/share/hunspell/ku_TR.aff
+usr/share/hunspell/kmr_Latn.dic usr/share/hunspell/ku_TR.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-nl.links libreoffice-dictionaries-5.1.0/debian/hunspell-nl.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-nl.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-nl.links 2016-05-01 09:55:26.000000000 +0000
@@ -0,0 +1,2 @@
+usr/share/hunspell/nl_NL.aff usr/share/hunspell/nl_BE.aff
+usr/share/hunspell/nl_NL.dic usr/share/hunspell/nl_BE.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-sr.links libreoffice-dictionaries-5.1.0/debian/hunspell-sr.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-sr.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-sr.links 2016-05-01 09:56:48.000000000 +0000
@@ -0,0 +1,2 @@
+usr/share/hunspell/sr_RS.aff usr/share/hunspell/sr_ME.aff
+usr/share/hunspell/sr_RS.dic usr/share/hunspell/sr_ME.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hunspell-sw.links libreoffice-dictionaries-5.1.0/debian/hunspell-sw.links
--- libreoffice-dictionaries-5.1.0/debian/hunspell-sw.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hunspell-sw.links 2016-05-01 09:58:16.000000000 +0000
@@ -0,0 +1,2 @@
+usr/share/hunspell/sw_TZ.aff usr/share/hunspell/sw_KE.aff
+usr/share/hunspell/sw_TZ.dic usr/share/hunspell/sw_KE.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hyphen-es.links libreoffice-dictionaries-5.1.0/debian/hyphen-es.links
--- libreoffice-dictionaries-5.1.0/debian/hyphen-es.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hyphen-es.links 2016-05-01 09:59:55.000000000 +0000
@@ -0,0 +1,20 @@
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_AR.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_BO.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_CL.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_CO.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_CR.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_CU.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_DO.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_EC.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_GT.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_HN.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_MX.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_NI.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_PA.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_PE.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_PR.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_PY.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_SV.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_US.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_UY.dic
+usr/share/hyphen/hyph_es_ES.dic usr/share/hyphen/hyph_es_VE.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hyphen-it.links libreoffice-dictionaries-5.1.0/debian/hyphen-it.links
--- libreoffice-dictionaries-5.1.0/debian/hyphen-it.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hyphen-it.links 2016-05-01 10:01:05.000000000 +0000
@@ -0,0 +1 @@
+usr/share/hyphen/hyph_it_IT.dic usr/share/hyphen/hyph_it_CH.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hyphen-nl.links libreoffice-dictionaries-5.1.0/debian/hyphen-nl.links
--- libreoffice-dictionaries-5.1.0/debian/hyphen-nl.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hyphen-nl.links 2016-05-01 10:02:09.000000000 +0000
@@ -0,0 +1 @@
+usr/share/hyphen/hyph_nl_NL.dic usr/share/hyphen/hyph_nl_BE.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hyphen-sr.links libreoffice-dictionaries-5.1.0/debian/hyphen-sr.links
--- libreoffice-dictionaries-5.1.0/debian/hyphen-sr.links 2015-11-03 17:47:17.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hyphen-sr.links 2016-05-01 10:03:28.000000000 +0000
@@ -1 +1 @@
-/usr/share/hyphen/hyph_sr.dic /usr/share/hyphen/hyph_sr_RS.dic
+usr/share/hyphen/hyph_sr_RS.dic usr/share/hyphen/hyph_sr_ME.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/hyphen-sv.links libreoffice-dictionaries-5.1.0/debian/hyphen-sv.links
--- libreoffice-dictionaries-5.1.0/debian/hyphen-sv.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/hyphen-sv.links 2016-05-01 10:04:35.000000000 +0000
@@ -0,0 +1 @@
+usr/share/hyphen/hyph_sv_SE.dic usr/share/hyphen/hyph_sv_FI.dic
diff -Nru libreoffice-dictionaries-5.1.0/debian/mythes-ar.links libreoffice-dictionaries-5.1.0/debian/mythes-ar.links
--- libreoffice-dictionaries-5.1.0/debian/mythes-ar.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/mythes-ar.links 2016-05-01 10:05:44.000000000 +0000
@@ -0,0 +1,32 @@
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_AE_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_AE_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_BH_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_BH_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_DZ_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_DZ_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_IQ_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_IQ_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_JO_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_JO_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_KW_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_KW_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_LB_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_LB_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_LY_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_LY_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_MA_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_MA_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_OM_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_OM_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_QA_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_QA_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_SA_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_SA_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_SD_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_SD_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_SY_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_SY_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_TN_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_TN_v2.idx
+usr/share/mythes/th_ar_EG_v2.dat usr/share/mythes/th_ar_YE_v2.dat
+usr/share/mythes/th_ar_EG_v2.idx usr/share/mythes/th_ar_YE_v2.idx
diff -Nru libreoffice-dictionaries-5.1.0/debian/mythes-es.links libreoffice-dictionaries-5.1.0/debian/mythes-es.links
--- libreoffice-dictionaries-5.1.0/debian/mythes-es.links 1970-01-01 00:00:00.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/mythes-es.links 2016-05-01 10:07:11.000000000 +0000
@@ -0,0 +1,40 @@
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_AR_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_AR_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_BO_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_BO_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_CL_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_CL_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_CO_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_CO_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_CR_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_CR_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_CU_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_CU_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_DO_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_DO_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_EC_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_EC_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_GT_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_GT_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_HN_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_HN_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_MX_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_MX_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_NI_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_NI_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_PA_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_PA_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_PE_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_PE_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_PR_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_PR_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_PY_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_PY_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_SV_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_SV_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_US_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_US_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_UY_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_UY_v2.idx
+usr/share/mythes/th_es_ES_v2.dat usr/share/mythes/th_es_VE_v2.dat
+usr/share/mythes/th_es_ES_v2.idx usr/share/mythes/th_es_VE_v2.idx
diff -Nru libreoffice-dictionaries-5.1.0/debian/rules libreoffice-dictionaries-5.1.0/debian/rules
--- libreoffice-dictionaries-5.1.0/debian/rules 2015-11-03 17:47:17.000000000 +0000
+++ libreoffice-dictionaries-5.1.0/debian/rules 2016-05-01 09:44:26.000000000 +0000
@@ -1,6 +1,21 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+define rename_hunspell_files
+cd $(CURDIR)/debian/hunspell-$(strip $(1))/usr/share/hunspell; \
+mv $(strip $(2)).aff $(strip $(3)).aff; mv $(strip $(2)).dic $(strip $(3)).dic
+endef
+
+define rename_hyphen_files
+cd $(CURDIR)/debian/hyphen-$(strip $(1))/usr/share/hyphen; \
+mv hyph_$(strip $(2)).dic hyph_$(strip $(3)).dic
+endef
+
+define rename_mythes_files
+cd $(CURDIR)/debian/mythes-$(strip $(1))/usr/share/mythes; \
+mv $(strip $(2)).dat $(strip $(3)).dat; mv $(strip $(2)).idx $(strip $(3)).idx
+endef
+
%:
dh $@
@@ -10,6 +25,30 @@
done
dh_auto_build $@
+override_dh_install:
+ dh_install
+
+ $(call rename_hunspell_files, es, es_ANY, es_ES )
+ $(call rename_hunspell_files, is, is, is_IS )
+ $(call rename_hunspell_files, lt, lt, lt_LT )
+ $(call rename_hunspell_files, sr, sr, sr_RS )
+ $(call rename_hunspell_files, sr, sr-Latn, sr_Latn_RS )
+
+ $(call rename_hyphen_files, ca, ca, ca_ES )
+ $(call rename_hyphen_files, es, es_ANY, es_ES )
+ $(call rename_hyphen_files, gl, gl, gl_ES )
+ $(call rename_hyphen_files, is, is, is_IS )
+ $(call rename_hyphen_files, lt, lt, lt_LT )
+ $(call rename_hyphen_files, sr, sr, sr_RS )
+ $(call rename_hyphen_files, sr, sr-Latn, sr-Latn_RS )
+ $(call rename_hyphen_files, sv, sv, sv_SE )
+
+ $(call rename_mythes_files, ar, th_ar, th_ar_EG_v2 )
+ $(call rename_mythes_files, es, th_es_ANY_v2, th_es_ES_v2 )
+ $(call rename_mythes_files, gl, thesaurus_gl, th_gl_ES_v2 )
+ $(call rename_mythes_files, is, th_is, th_is_IS_v2 )
+ $(call rename_mythes_files, uk, th_uk_UA, th_uk_UA_v2 )
+
override_dh_clean:
find dictionaries/ -type f -name '*.idx' -delete
dh_clean
Reply to: