[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/Makefile.am
Jan Holesovsky
kendy at collabora.com
Thu Apr 27 08:02:28 UTC 2017
loleaflet/Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 61cf7f7874e32d12503fca242fe7d1616f414c00
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/37017
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index 0a1880ae..0eede606 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