diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-09-10 20:31:38 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-20 18:46:11 +0000 |
commit | 161f4ac95ae3df1daaede762862ea1c3ac4bb399 (patch) | |
tree | 10a13b0c1347a0222493cced74c42c4bd383b6ff /solenv/inc | |
parent | 42a2fb1c24750dde53b737d1fb45e2bb7286a3f2 (diff) |
Use po file for merge 1. step
Make executables to waiting for po as input
Add some function to po files
Rewrite makefiles to use po files for merge
Change KeyId generator not to use xml special
charachters
One filetype remain: properties
Change-Id: If2bd2ae7afc61518c2d838a3cae301ef62dd9761
Reviewed-on: https://gerrit.libreoffice.org/593
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'solenv/inc')
-rw-r--r-- | solenv/inc/rules.mk | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/solenv/inc/rules.mk b/solenv/inc/rules.mk index 93e3b02390ff..b4561b9c7693 100644 --- a/solenv/inc/rules.mk +++ b/solenv/inc/rules.mk @@ -702,16 +702,12 @@ $(COMMONMISC)/$(TARGET)/%.uulf : $$(@:b).ulf @$(RENAME) $@.$(INPATH) $@ @-$(RM) $@.$(INPATH) -# This is still needed????? +POLOCATION:=$(SRCDIR)$/translations/source +PORELPATH:=$(PRJNAME)$/$(PATH_IN_MODULE).po + $(COMMONMISC)/$(TARGET)/%.xrm : %.xrm $(COMMAND_ECHO)-$(MKDIR) $(@:d) $(COMMAND_ECHO)-$(RM) $@ - $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(mktmp $(foreach,lang,$(subst,en-US, $(WITH_LANG)) $(POLOCATION)/$(lang)/$(PORELPATH))) -l all $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ $(COMMAND_ECHO)-$(RM) $@.$(INPATH) - -# dirty hack -# if local *.sdf file is missing -#%.sdf: -# echo > $@ - |