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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 19 15:11:21 UTC 2019


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

New commits:
commit 7af08ddc85c93e775bb59024323ba34cb5ec6943
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Thu May 30 11:34:25 2019 -0400
Commit:     Henry Castro <hcastro at 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 <hcastro at collabora.com>
    Tested-by: Henry Castro <hcastro at 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 \


More information about the Libreoffice-commits mailing list