[Libreoffice-commits] online.git: loleaflet/Makefile.am

Jan Holesovsky kendy at collabora.com
Thu Apr 27 08:01:21 UTC 2017


 loleaflet/Makefile.am |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit fdb5f6f09f13ff2bddf5c3b2a8ace072b4774513
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Apr 27 09:58:18 2017 +0200

    Build the translations even for the developers.
    
    Change-Id: Ida8e705c500c9698afc32427815a5b12ab076ac9
    Reviewed-on: https://gerrit.libreoffice.org/37018
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index 4a8bd92a..cb458d68 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -10,11 +10,15 @@ MINIFY=false
 
 EXTRA_DIST = $(shell git ls-files)
 
-all-local: node_modules
+all-local: node_modules build-l10n
 	rm -rf dist/plugins/draw-$(DRAW_VERSION) && mkdir -p dist/plugins/draw-$(DRAW_VERSION)
 	cd plugins/draw-$(DRAW_VERSION) && jake build && cp -ar dist ../../dist/plugins/draw-$(DRAW_VERSION)
 	jake build debug=$(ENABLE_DEBUG) minify=$(MINIFY)
 
+	mkdir -p dist/l10n/styles
+	mv po/*.json dist/l10n/
+	mv po/styles/*.json dist/l10n/styles/
+
 node_modules: npm-shrinkwrap.json
 	npm install
 	touch node_modules


More information about the Libreoffice-commits mailing list