diff options
author | Andras Timar <atimar@suse.com> | 2011-10-31 18:17:43 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-10-31 18:17:43 +0100 |
commit | 72682b9ac937472b9c48c8a9be70be902ff645e8 (patch) | |
tree | af212db8a6804f85d219819826dc0cccb23cf456 | |
parent | fa8af948b9ff139b4b38ef984594734fb312e542 (diff) |
enable localization of extension descriptions in dictionaries
42 files changed, 389 insertions, 26 deletions
diff --git a/dictionaries/af_ZA/makefile.mk b/dictionaries/af_ZA/makefile.mk index b39e066..5dc1c8f 100644 --- a/dictionaries/af_ZA/makefile.mk +++ b/dictionaries/af_ZA/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-af # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/af_ZA.aff \ @@ -73,3 +77,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/ar/makefile.mk b/dictionaries/ar/makefile.mk index 78bff28..dac74a8 100644 --- a/dictionaries/ar/makefile.mk +++ b/dictionaries/ar/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ar # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/ar.aff \ @@ -80,6 +84,11 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) #.INCLUDE : $(PRJ)$/prj$/tests.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF + $(EXTENSIONDIR)$/th_ar.idx : "$(EXTENSIONDIR)$/th_ar.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_ar.idx <$(EXTENSIONDIR)$/th_ar.dat - diff --git a/dictionaries/bg_BG/makefile.mk b/dictionaries/bg_BG/makefile.mk index f999630..2e818cb 100644 --- a/dictionaries/bg_BG/makefile.mk +++ b/dictionaries/bg_BG/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-bg # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/bg_BG.aff \ @@ -84,3 +88,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_bg_BG_v2.idx : "$(EXTENSIONDIR)$/th_bg_BG_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_bg_BG_v2.idx <$(EXTENSIONDIR)$/th_bg_BG_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/bn_BD/makefile.mk b/dictionaries/bn_BD/makefile.mk index b13ae36..6c28a00 100644 --- a/dictionaries/bn_BD/makefile.mk +++ b/dictionaries/bn_BD/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-bn # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/bn_BD.aff \ @@ -73,3 +77,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/br_FR/makefile.mk b/dictionaries/br_FR/makefile.mk index ec1a48b..a6bafef 100644 --- a/dictionaries/br_FR/makefile.mk +++ b/dictionaries/br_FR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-br # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/br_FR.aff \ @@ -72,3 +76,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/ca/makefile.mk b/dictionaries/ca/makefile.mk index 7bdb47b..b61be4e 100644 --- a/dictionaries/ca/makefile.mk +++ b/dictionaries/ca/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ca # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/ca.aff \ @@ -95,3 +99,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_ca_ES_v3.idx : "$(EXTENSIONDIR)$/th_ca_ES_v3.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_ca_ES_v3.idx <$(EXTENSIONDIR)$/th_ca_ES_v3.dat +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/cs_CZ/makefile.mk b/dictionaries/cs_CZ/makefile.mk index 73cace0..818b53b 100644 --- a/dictionaries/cs_CZ/makefile.mk +++ b/dictionaries/cs_CZ/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-cs # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/cs_CZ.aff \ @@ -84,3 +88,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_cs_CZ_v2.idx : "$(EXTENSIONDIR)$/th_cs_CZ_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_cs_CZ_v2.idx <$(EXTENSIONDIR)$/th_cs_CZ_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/da_DK/makefile.mk b/dictionaries/da_DK/makefile.mk index f2e2f4d..66cd38d 100644 --- a/dictionaries/da_DK/makefile.mk +++ b/dictionaries/da_DK/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-da # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/da_DK.aff \ @@ -90,3 +94,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_da_DK.idx : "$(EXTENSIONDIR)$/th_da_DK.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_da_DK.idx <$(EXTENSIONDIR)$/th_da_DK.dat +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/de/makefile.mk b/dictionaries/de/makefile.mk index b34bd6e..547b7e4 100644 --- a/dictionaries/de/makefile.mk +++ b/dictionaries/de/makefile.mk @@ -51,6 +51,10 @@ EXTENSION_ZIPNAME:=dict-de # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/COPYING_OASIS.txt \ @@ -98,4 +102,8 @@ $(EXTENSIONDIR)$/th_de_DE_v2.idx : "$(EXTENSIONDIR)$/th_de_DE_v2.dat" $(EXTENSIONDIR)$/th_de_AT_v2.idx : "$(EXTENSIONDIR)$/th_de_AT_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_de_AT_v2.idx <$(EXTENSIONDIR)$/th_de_AT_v2.dat - +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/en/makefile.mk b/dictionaries/en/makefile.mk index 7640185..e2c7091 100644 --- a/dictionaries/en/makefile.mk +++ b/dictionaries/en/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-en # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/affDescription.txt \ @@ -102,3 +106,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_en_US_v2.idx : "$(EXTENSIONDIR)$/th_en_US_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_en_US_v2.idx <$(EXTENSIONDIR)$/th_en_US_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/es_ES/makefile.mk b/dictionaries/es_ES/makefile.mk index d6b9eaa..49979f9 100644 --- a/dictionaries/es_ES/makefile.mk +++ b/dictionaries/es_ES/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-es # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/es_ES.aff \ @@ -72,3 +76,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/et_EE/makefile.mk b/dictionaries/et_EE/makefile.mk index 6f68563..b01c76d 100644 --- a/dictionaries/et_EE/makefile.mk +++ b/dictionaries/et_EE/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-et # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/eehyph.tex \ @@ -75,3 +79,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/fr_FR/makefile.mk b/dictionaries/fr_FR/makefile.mk index 84c6e5e..bf0ca14 100644 --- a/dictionaries/fr_FR/makefile.mk +++ b/dictionaries/fr_FR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-fr # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/README_hyph_fr.txt \ @@ -85,3 +89,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/thes_fr.idx : "$(EXTENSIONDIR)$/thes_fr.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/thes_fr.idx <$(EXTENSIONDIR)$/thes_fr.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/gl/makefile.mk b/dictionaries/gl/makefile.mk index b58487d..9f24144 100644 --- a/dictionaries/gl/makefile.mk +++ b/dictionaries/gl/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-gl # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/gl_ES.aff \ @@ -75,3 +79,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/gu_IN/makefile.mk b/dictionaries/gu_IN/makefile.mk index ef09a02..ed63a77 100644 --- a/dictionaries/gu_IN/makefile.mk +++ b/dictionaries/gu_IN/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-gu # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/gu_IN.aff \ @@ -73,3 +77,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/he_IL/makefile.mk b/dictionaries/he_IL/makefile.mk index 1a40a3a..080f670 100644 --- a/dictionaries/he_IL/makefile.mk +++ b/dictionaries/he_IL/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-he # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/he_IL.aff \ @@ -71,3 +75,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) .INCLUDE : target.mk # global targets for extension packing .INCLUDE : extension_post.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/hi_IN/makefile.mk b/dictionaries/hi_IN/makefile.mk index adef3da..dbbfceb 100644 --- a/dictionaries/hi_IN/makefile.mk +++ b/dictionaries/hi_IN/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-hi # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hi_IN.aff \ @@ -75,3 +79,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/hr_HR/makefile.mk b/dictionaries/hr_HR/makefile.mk index 7572b8b..5d6eed4 100644 --- a/dictionaries/hr_HR/makefile.mk +++ b/dictionaries/hr_HR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-hr # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hr_HR.aff \ @@ -73,3 +77,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) .INCLUDE : target.mk # global targets for extension packing .INCLUDE : extension_post.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF
\ No newline at end of file diff --git a/dictionaries/hu_HU/makefile.mk b/dictionaries/hu_HU/makefile.mk index dca137d..a513422 100644 --- a/dictionaries/hu_HU/makefile.mk +++ b/dictionaries/hu_HU/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-hu # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hu_HU.aff \ @@ -87,3 +91,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_hu_HU_v2.idx : "$(EXTENSIONDIR)$/th_hu_HU_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_hu_HU_v2.idx <$(EXTENSIONDIR)$/th_hu_HU_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/it_IT/makefile.mk b/dictionaries/it_IT/makefile.mk index ea94643..ae2e981 100644 --- a/dictionaries/it_IT/makefile.mk +++ b/dictionaries/it_IT/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-it # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_it_IT.dic \ @@ -81,6 +85,12 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) .INCLUDE : $(PRJ)$/prj$/tests.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF + $(EXTENSIONDIR)$/th_it_IT_v2.idx : "$(EXTENSIONDIR)$/th_it_IT_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_it_IT_v2.idx <$(EXTENSIONDIR)$/th_it_IT_v2.dat - diff --git a/dictionaries/ku_TR/makefile.mk b/dictionaries/ku_TR/makefile.mk index f8a0034..92203ac 100644 --- a/dictionaries/ku_TR/makefile.mk +++ b/dictionaries/ku_TR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ku-TR # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/MPL-1.1.txt \ @@ -77,3 +81,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/lt_LT/makefile.mk b/dictionaries/lt_LT/makefile.mk index 130eec6..7718b81 100644 --- a/dictionaries/lt_LT/makefile.mk +++ b/dictionaries/lt_LT/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-lt # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/lt_LT.aff \ @@ -75,3 +79,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/lv_LV/makefile.mk b/dictionaries/lv_LV/makefile.mk index 131bb27..9116f86 100644 --- a/dictionaries/lv_LV/makefile.mk +++ b/dictionaries/lv_LV/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-lv # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/lv_LV.aff \ @@ -84,3 +88,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_lv_LV_v2.idx : "$(EXTENSIONDIR)$/th_lv_LV_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_lv_LV_v2.idx <$(EXTENSIONDIR)$/th_lv_LV_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/ne_NP/makefile.mk b/dictionaries/ne_NP/makefile.mk index e673a17..b46c949 100644 --- a/dictionaries/ne_NP/makefile.mk +++ b/dictionaries/ne_NP/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ne # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/ne_NP.aff \ @@ -81,3 +85,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_ne_NP_v2.idx : "$(EXTENSIONDIR)$/th_ne_NP_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_ne_NP_v2.idx <$(EXTENSIONDIR)$/th_ne_NP_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/nl_NL/makefile.mk b/dictionaries/nl_NL/makefile.mk index 2562923..f17b4ca 100644 --- a/dictionaries/nl_NL/makefile.mk +++ b/dictionaries/nl_NL/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-nl # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/nl_NL.aff \ @@ -76,3 +80,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/no/makefile.mk b/dictionaries/no/makefile.mk index 57c5e2d..20a9680 100644 --- a/dictionaries/no/makefile.mk +++ b/dictionaries/no/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-no # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_nb_NO.dic \ @@ -90,3 +94,9 @@ $(EXTENSIONDIR)$/th_nb_NO_v2.idx : "$(EXTENSIONDIR)$/th_nb_NO_v2.dat" $(EXTENSIONDIR)$/th_nn_NO_v2.idx : "$(EXTENSIONDIR)$/th_nn_NO_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_nn_NO_v2.idx <$(EXTENSIONDIR)$/th_nn_NO_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/oc_FR/makefile.mk b/dictionaries/oc_FR/makefile.mk index ab5285d..a91e228 100644 --- a/dictionaries/oc_FR/makefile.mk +++ b/dictionaries/oc_FR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-oc # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/oc_FR.aff \ @@ -73,3 +77,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) .INCLUDE : target.mk # global targets for extension packing .INCLUDE : extension_post.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/pl_PL/makefile.mk b/dictionaries/pl_PL/makefile.mk index e85e45e..6ecf7fb 100644 --- a/dictionaries/pl_PL/makefile.mk +++ b/dictionaries/pl_PL/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-pl # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_pl_PL.dic \ @@ -84,3 +88,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_pl_PL_v2.idx : "$(EXTENSIONDIR)$/th_pl_PL_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_pl_PL_v2.idx <$(EXTENSIONDIR)$/th_pl_PL_v2.dat +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/pt_BR/makefile.mk b/dictionaries/pt_BR/makefile.mk index e05a05f..021981c 100644 --- a/dictionaries/pt_BR/makefile.mk +++ b/dictionaries/pt_BR/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-pt # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/pt_BR.aff \ @@ -74,3 +78,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) .INCLUDE : target.mk # global targets for extension packing .INCLUDE : extension_post.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/pt_PT/makefile.mk b/dictionaries/pt_PT/makefile.mk index ae72268..c64fda1 100644 --- a/dictionaries/pt_PT/makefile.mk +++ b/dictionaries/pt_PT/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-pt-pt # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_pt_PT.dic \ @@ -83,3 +87,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_pt_PT_v2.idx : "$(EXTENSIONDIR)$/th_pt_PT_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_pt_PT_v2.idx <$(EXTENSIONDIR)$/th_pt_PT_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/ro/makefile.mk b/dictionaries/ro/makefile.mk index 73830ca..1ccca92 100644 --- a/dictionaries/ro/makefile.mk +++ b/dictionaries/ro/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ro # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/COPYING.GPL \ @@ -86,3 +90,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_ro_RO_v2.idx : "$(EXTENSIONDIR)$/th_ro_RO_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_ro_RO_v2.idx <$(EXTENSIONDIR)$/th_ro_RO_v2.dat +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/ru_RU/makefile.mk b/dictionaries/ru_RU/makefile.mk index d245219..ac3c41a 100644 --- a/dictionaries/ru_RU/makefile.mk +++ b/dictionaries/ru_RU/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-ru # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_ru_RU.dic \ @@ -82,3 +86,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_ru_RU_v2.idx : "$(EXTENSIONDIR)$/th_ru_RU_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_ru_RU_v2.idx <$(EXTENSIONDIR)$/th_ru_RU_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/sk_SK/makefile.mk b/dictionaries/sk_SK/makefile.mk index d7ec90e..4c49cf9 100644 --- a/dictionaries/sk_SK/makefile.mk +++ b/dictionaries/sk_SK/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-sk # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ @@ -87,3 +91,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_sk_SK_v2.idx : "$(EXTENSIONDIR)$/th_sk_SK_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_sk_SK_v2.idx <$(EXTENSIONDIR)$/th_sk_SK_v2.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/sl_SI/makefile.mk b/dictionaries/sl_SI/makefile.mk index 7ef2ac8..39b0d46 100644 --- a/dictionaries/sl_SI/makefile.mk +++ b/dictionaries/sl_SI/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-sl # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/th_sl_SI_v2.dat \ @@ -84,3 +88,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_sl_SI_v2.idx : "$(EXTENSIONDIR)$/th_sl_SI_v2.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_sl_SI_v2.idx <$(EXTENSIONDIR)$/th_sl_SI_v2.dat +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/sr/makefile.mk b/dictionaries/sr/makefile.mk index 4301a5c..aa46a87 100644 --- a/dictionaries/sr/makefile.mk +++ b/dictionaries/sr/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-sr # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/sh.aff \ @@ -76,3 +80,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/sv_SE/makefile.mk b/dictionaries/sv_SE/makefile.mk index a63b56b..c51c5c0 100644 --- a/dictionaries/sv_SE/makefile.mk +++ b/dictionaries/sv_SE/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-sv # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/sv_SE.aff \ @@ -82,3 +86,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_sv_SE.idx : "$(EXTENSIONDIR)$/th_sv_SE.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_sv_SE.idx <$(EXTENSIONDIR)$/th_sv_SE.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/sw_TZ/makefile.mk b/dictionaries/sw_TZ/makefile.mk index 855df3e..95bd1a7 100644 --- a/dictionaries/sw_TZ/makefile.mk +++ b/dictionaries/sw_TZ/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-sw # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/sw_TZ.aff \ @@ -72,3 +76,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/th_TH/makefile.mk b/dictionaries/th_TH/makefile.mk index 72dbeba..f9a2f0c 100644 --- a/dictionaries/th_TH/makefile.mk +++ b/dictionaries/th_TH/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-th # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/th_TH.aff \ @@ -72,3 +76,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/uk_UA/makefile.mk b/dictionaries/uk_UA/makefile.mk index b98c619..3bc5b79 100644 --- a/dictionaries/uk_UA/makefile.mk +++ b/dictionaries/uk_UA/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-uk # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/uk_UA.aff \ @@ -81,3 +85,9 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) $(COMPONENT_UNZIP_FILES) $(EXTENSIONDIR)$/th_uk_UA.idx : "$(EXTENSIONDIR)$/th_uk_UA.dat" $(AUGMENT_LIBRARY_PATH) $(LOCAL_OUT_FOR_BUILD)$/bin$/idxdict -o $(EXTENSIONDIR)$/th_uk_UA.idx <$(EXTENSIONDIR)$/th_uk_UA.dat + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/util/makefile.mk b/dictionaries/util/makefile.mk deleted file mode 100644 index e3f5cee..0000000 --- a/dictionaries/util/makefile.mk +++ /dev/null @@ -1,23 +0,0 @@ -PRJ=.. -PRJNAME=dictionaries -TARGET=pack_writing_aids - -.INCLUDE : settings.mk - -DICDEPS:=$(subst,/,$/ $(shell @$(FIND) $(subst,$/,/ $(BIN)) -name "*.line")) - - -ZIP1TARGET = writingaids -ZIP1LIST = $(BIN)$/*.dic $(BIN)$/*.aff $(BIN)$/*.txt $(BIN)$/*.lst $(BIN)$/*.idx $(BIN)$/*.dat $(BIN)$/*.sxw $(SOLARBINDIR)$/hyph_en_US.dic - -.INCLUDE : target.mk - -.IF "$(ZIP1TARGETN)" != "" -$(ZIP1TARGETN) : $(BIN)$/dictionary.lst -.ENDIF # "$(ZIP1TARGETN)" != "" - -$(BIN)$/dictionary.lst : $(DICDEPS) - @-$(RM) $@ - $(TYPE) $(BIN)$/dictionary_head > $@ - -$(TYPE) $(BIN)$/dictionary_*.line >> $@ - diff --git a/dictionaries/vi/makefile.mk b/dictionaries/vi/makefile.mk index bbca9e8..50feeda 100644 --- a/dictionaries/vi/makefile.mk +++ b/dictionaries/vi/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-vi # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/LICENSES-en.txt \ @@ -73,3 +77,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF diff --git a/dictionaries/zu_ZA/makefile.mk b/dictionaries/zu_ZA/makefile.mk index 06449cc..3d00667 100644 --- a/dictionaries/zu_ZA/makefile.mk +++ b/dictionaries/zu_ZA/makefile.mk @@ -47,6 +47,10 @@ EXTENSION_ZIPNAME:=dict-zu # --- Extension packaging ------------------------------------------ +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/hyph_zu_ZA.dic @@ -71,3 +75,8 @@ EXTENSION_PACKDEPS=$(COMPONENT_FILES) # global targets for extension packing .INCLUDE : extension_post.mk +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF |