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 /dictionaries/pt_PT | |
parent | fa8af948b9ff139b4b38ef984594734fb312e542 (diff) |
enable localization of extension descriptions in dictionaries
Diffstat (limited to 'dictionaries/pt_PT')
-rw-r--r-- | dictionaries/pt_PT/makefile.mk | 10 |
1 files changed, 10 insertions, 0 deletions
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 |