loleaflet: makefile: fix builddir != srcdir
Change-Id: I97083c0a093a4038cb91dd618096eeb4292463fe Signed-off-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
parent
6643b57f4a
commit
7e0186600d
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue