android: create intermediate dir for build variants

It is better to separate the intermediate asset files

Change-Id: I50ff1b6e045679afa48c7024652de40db8fa2a71
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95366
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
private/tml/ios-gen2
Henry Castro 2020-06-02 10:26:34 -04:00
parent e7c75fda31
commit 38715ea2df
2 changed files with 3 additions and 3 deletions

4
.gitignore vendored
View File

@ -56,8 +56,8 @@ loolwsd.log
*.mo
# loleaflet
loleaflet/build
loleaflet/dist
loleaflet/debug
loleaflet/release
loleaflet/npm-shrinkwrap.json
loleaflet/jsconfig.json
loleaflet/admin/jsconfig.json

View File

@ -322,7 +322,7 @@ COMMA := ,
EMPTY :=
SPACE := $(EMPTY) $(EMPTY)
LOLEAFLET_VERSION = $(shell cd $(srcdir) && git log -1 --pretty=format:"%h")
INTERMEDIATE_DIR ?= $(abs_builddir)/build
INTERMEDIATE_DIR ?= $(if $(IS_DEBUG),$(abs_builddir)/debug,$(abs_builddir)/release)
EXTRA_DIST = $(shell find . -type f -not -path './.git/*' | sed 's/.\///')