From 7e0186600d9a27e67a96d3f2aa9a09b738e3cfa5 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Mon, 18 Jan 2021 15:47:46 -0400 Subject: [PATCH] loleaflet: makefile: fix builddir != srcdir Change-Id: I97083c0a093a4038cb91dd618096eeb4292463fe Signed-off-by: Henry Castro --- loleaflet/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am index e44b9a361..b14f5d800 100644 --- a/loleaflet/Makefile.am +++ b/loleaflet/Makefile.am @@ -27,11 +27,11 @@ $(L10N_IOS_ALL_JS) : $(wildcard $(srcdir)/po/ui-*.po) $(shell find $(srcdir)/l10 done endif -SRC_TS = $(wildcard src/layer/tile/*.ts) -SRC_TS_JS = $(patsubst src/layer/tile/%.ts,src/layer/tile/%.js,$(SRC_TS)) +SRC_TS = $(wildcard $(srcdir)/src/layer/tile/*.ts) +SRC_TS_JS = $(patsubst $(srcdir)/src/layer/tile/%.ts,$(srcdir)/src/layer/tile/%.js,$(SRC_TS)) -src/layer/tile/%.js: src/layer/tile/%.ts - $(srcdir)/node_modules/typescript/bin/tsc $< --outfile $@ --module none --lib dom,es2016 --target ES5 +$(srcdir)/src/layer/tile/%.js: $(srcdir)/src/layer/tile/%.ts + $(builddir)/node_modules/typescript/bin/tsc $< --outfile $@ --module none --lib dom,es2016 --target ES5 JQUERY_LIGHTNESS_IMAGE_PATH = $(srcdir)/images/jquery-ui-lightness JQUERY_LIGHTNESS_IMAGES = $(wildcard $(JQUERY_LIGHTNESS_IMAGE_PATH)/*.png)