loleaflet/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7af08ddc85c93e775bb59024323ba34cb5ec6943
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Thu May 30 11:34:25 2019 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Mon Aug 19 17:11:04 2019 +0200

    loleaflet: makefile: do not use hammer.j minified library
    
    It is hard to debug the library if it is minfied,
    it is preferable to non minified when --enable-debug is set
    
    Change-Id: I7886d047d8aab90b68c12bb50964d263445d8afe
    Reviewed-on: https://gerrit.libreoffice.org/77733
    Reviewed-by: Henry Castro <hcas...@collabora.com>
    Tested-by: Henry Castro <hcas...@collabora.com>

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index cb8522a6b..dec3ac5b6 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -90,7 +90,7 @@ LOLEAFLET_CSS_M4 = $(strip $(foreach 
file,$(LOLEAFLET_CSS),$(notdir $(file))))
 $(eval $(call file_targets,$(LOLEAFLET_CSS)))
 
 NODE_MODULES_JS =\
-       node_modules/hammerjs/hammer.min.js \
+       $(if 
$(ENABLE_DEBUG),node_modules/hammerjs/hammer.js,node_modules/hammerjs/hammer.min.js)
 \
        node_modules/jquery/dist/jquery.js \
        node_modules/jquery-mousewheel/jquery.mousewheel.js \
        node_modules/jquery-contextmenu/dist/jquery.contextMenu.js \
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to