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

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 11 10:38:04 UTC 2020


 loleaflet/Makefile.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 23ebfe20075fdf92e1ac667bfce111f23ad10d3a
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Jun 11 12:37:11 2020 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Jun 11 12:37:11 2020 +0200

    Add compilets dependency so that make -j works again.
    
    Change-Id: I185891fbcb340d2d2a94b9e2fe033534da9c2f08

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index ff2071a04..b79a89f00 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -394,6 +394,7 @@ endif
 
 compilets:
 	$(srcdir)/node_modules/typescript/bin/tsc
+	@touch $@
 
 build-loleaflet: compilets \
 	$(LOLEAFLET_L10N_DST) \
@@ -422,13 +423,13 @@ $(DIST_FOLDER)/admin-bundle.js: $(LOLEAFLET_ADMIN_DST) \
 	$(INTERMEDIATE_DIR)/admin-src.js
 	@NODE_PATH=$(abs_builddir)/node_modules:$(INTERMEDIATE_DIR) $(NODE) node_modules/browserify/bin/cmd.js -g browserify-css $(if $(IS_DEBUG),--debug,-g uglifyify) -o $@ $(srcdir)/admin/main-admin.js
 
-$(INTERMEDIATE_DIR)/admin-src.js: $(LOLEAFLET_ADMIN_ALL)
+$(INTERMEDIATE_DIR)/admin-src.js: $(LOLEAFLET_ADMIN_ALL) compilets
 	@mkdir -p $(dir $@)
 	@echo "Checking for admin JS errors..."
 	@$(NODE) node_modules/eslint/bin/eslint.js $(srcdir)/admin/src --ignore-path $(srcdir)/.eslintignore --config $(srcdir)/.eslintrc
 	@awk 'FNR == 1 {print ""} 1' $(patsubst %.js,$(srcdir)/%.js,$(LOLEAFLET_ADMIN_JS)) > $@
 
-$(INTERMEDIATE_DIR)/loleaflet-src.js: $(call prereq_loleaflet)
+$(INTERMEDIATE_DIR)/loleaflet-src.js: $(call prereq_loleaflet) compilets
 	@mkdir -p $(dir $@)
 	$(abs_top_srcdir)/scripts/unocommands.py --check $(abs_top_srcdir)
 	@echo "Checking for loleaflet JS errors..."


More information about the Libreoffice-commits mailing list