[Libreoffice-commits] online.git: loleaflet/Makefile.am
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Mar 5 18:09:24 UTC 2019
loleaflet/Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c801696ab1f64715f56d22453deb47db80f6a9cb
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Jan 27 16:46:41 2019 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Tue Mar 5 14:08:53 2019 -0400
loleaflet: uglify global.js file
Change-Id: Ibcc265830c10042a918784b350fe93566147993a
diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index bc23ee763..36492e912 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -226,6 +226,10 @@ $(builddir)/dist/bundle.css: $(LOLEAFLET_CSS)
@echo "Uglify loleaflet css files..."
@NODE_PATH=$(abs_builddir)/node_modules $(NODE) node_modules/uglifycss/uglifycss $(LOLEAFLET_CSS) > $@
+$(builddir)/dist/global.js: $(srcdir)/js/global.js
+ @echo "Uglify global.js file..."
+ @NODE_PATH=$(abs_builddir)/node_modules $(NODE) node_modules/uglify-js/bin/uglifyjs $< --output $@
+
$(builddir)/dist/bundle.js: $(NODE_MODULES_JS_SRC) \
$(LOLEAFLET_PREFIX)/dist/loleaflet-src.js \
$(builddir)/dist/global.js \
More information about the Libreoffice-commits
mailing list