loleaflet: makefile: fix builddir != srcdir

Change-Id: I97083c0a093a4038cb91dd618096eeb4292463fe
Signed-off-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
Henry Castro 2021-01-18 15:47:46 -04:00
parent 6643b57f4a
commit 7e0186600d

View file

@ -27,11 +27,11 @@ $(L10N_IOS_ALL_JS) : $(wildcard $(srcdir)/po/ui-*.po) $(shell find $(srcdir)/l10
done done
endif endif
SRC_TS = $(wildcard src/layer/tile/*.ts) SRC_TS = $(wildcard $(srcdir)/src/layer/tile/*.ts)
SRC_TS_JS = $(patsubst src/layer/tile/%.ts,src/layer/tile/%.js,$(SRC_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)/src/layer/tile/%.js: $(srcdir)/src/layer/tile/%.ts
$(srcdir)/node_modules/typescript/bin/tsc $< --outfile $@ --module none --lib dom,es2016 --target ES5 $(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_IMAGE_PATH = $(srcdir)/images/jquery-ui-lightness
JQUERY_LIGHTNESS_IMAGES = $(wildcard $(JQUERY_LIGHTNESS_IMAGE_PATH)/*.png) JQUERY_LIGHTNESS_IMAGES = $(wildcard $(JQUERY_LIGHTNESS_IMAGE_PATH)/*.png)