[Libreoffice-commits] .: CustomTarget_translate.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 22:48:52 PST 2012


 CustomTarget_translate.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 965f3562a25b75fc3401d3b44ed96e2e5093ed72
Author: Andras Timar <atimar at suse.com>
Date:   Sat Dec 1 07:51:02 2012 +0100

    generate filelist of pot files
    
    Change-Id: I105e36536ac06f6fdbe6457afa9c19ff32524841

diff --git a/CustomTarget_translate.mk b/CustomTarget_translate.mk
index bcdcda8..562b6b3 100644
--- a/CustomTarget_translate.mk
+++ b/CustomTarget_translate.mk
@@ -38,6 +38,7 @@ $(translations_DIR)/pot.done : $(foreach exec,cfgex helpex localize transex3 \
 	$(call gb_Output_announce,$(subst .pot,,$(subst $(WORKDIR)/,,$@)),$(true),POT,1)
 	$(call gb_Helper_abbreviate_dirs, \
 		mkdir -p $(dir $@) && $(call gb_Helper_execute,localize) $(SRCDIR) $(dir $@)/pot) \
+		&& find $(dir $@)/pot -type f -printf "%P\n" | sed -e "s/\.pot/.po/" > $(dir $@)/LIST \
 		&& touch $@
 
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list