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