summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-10-04 14:24:09 +0200
committerAndras Timar <andras.timar@collabora.com>2021-10-04 15:25:09 +0200
commit6c9f1f6c2546d192d1a3b25d5f48d8081170e8be (patch)
tree44ec993512fd8859df08a68f2f2d24acce372003
parent6176d3f2ce67c3f897f1507fe52680ad9d9fe7fc (diff)
Avoid duplicated pt_BR_pt_BR.properties in packaging's filelist
Change-Id: I5ebb15f0a9f391fdf686ea7ebc7fba98c373b2a6 Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/123048 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--Dictionary_pt-BR.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Dictionary_pt-BR.mk b/Dictionary_pt-BR.mk
index 178662d..3e1973b 100644
--- a/Dictionary_pt-BR.mk
+++ b/Dictionary_pt-BR.mk
@@ -27,8 +27,13 @@ $(eval $(call gb_Dictionary_add_root_files,dict-pt-BR,\
$(eval $(call gb_Dictionary_add_files,dict-pt-BR,dialog,\
dictionaries/pt_BR/dialog/pt_BR.xdl \
dictionaries/pt_BR/dialog/pt_BR_pt_BR.default \
+))
+
+ifeq (,$(findstring pt-BR,$(gb_WITH_LANG)))
+$(eval $(call gb_Dictionary_add_files,dict-pt-BR,dialog,\
dictionaries/pt_BR/dialog/pt_BR_pt_BR.properties \
))
+endif
$(eval $(call gb_Dictionary_add_files,dict-pt-BR,pythonpath,\
dictionaries/pt_BR/pythonpath/lightproof_pt_BR.py \