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

New commits:
commit 88a8810ee79215f706c3394bf92072a9dea2c068
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Fri Feb 1 10:59:29 2019 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Tue Mar 5 15:40:59 2019 -0400

    loleaflet: minify l10n files
    
    Change-Id: I811d945e6767a0716244f8b1f42a8e1f2b727775

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index a1b860762..7f90ca147 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -336,9 +336,13 @@ $(builddir)/dist/images/%.png: 
$(JQUERY_MINIFIED_IMAGE_PATH)/%.png
        @mkdir -p $(dir $@)
        @cp $< $@
 
-$(builddir)/dist/l10n/%: $(srcdir)/l10n/%
+$(builddir)/dist/l10n/%.json: $(srcdir)/l10n/%.json
        @mkdir -p $(dir $@)
+if ENABLE_DEBUG
        @cp $< $@
+else
+       @tr -d '[:space:]' <$<  >$@
+endif
 
 $(builddir)/dist/l10n/%.json: $(srcdir)/po/%.po
        @$(srcdir)/util/po2json.py $< -o $@
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to