diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2017-11-30 13:52:40 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2017-11-30 13:57:01 +0100 |
commit | 5cb5516c0d8928bebbdb3bfaa2cefd43b159ccca (patch) | |
tree | 598d2d9d5c6e88c1629d7d0a1ac5234f871054ca /Makefile.in | |
parent | 36423d18267e2ef3373bfb162e9b2e8062d01dd4 (diff) |
have "make clean" also remove android's/gradle's output dirs
esp. removing the jniLib one is important, as otherwise it is easy to
package both x86 as well as arm libs into the apk, making it huuuge :-)
Change-Id: I6364b82800a449682b618f0bb98a47825dcb0742
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 6a1856a0e8e9..c16e1f8dc328 100644 --- a/Makefile.in +++ b/Makefile.in @@ -178,6 +178,14 @@ clean-build: ifneq ($(CROSS_COMPILING),) rm -fr $(INSTDIR_FOR_BUILD) rm -fr $(WORKDIR_FOR_BUILD) +ifeq ($(OS),ANDROID) + rm -fr $(SRCDIR)/android/source/obj + rm -fr $(SRCDIR)/android/source/jniLibs + rm -fr $(SRCDIR)/android/source/build + rm -fr $(SRCDIR)/android/source/assets + rm -fr $(SRCDIR)/android/source/assets_fullUI + rm -fr $(SRCDIR)/android/source/assets_strippedUI +endif endif include $(SRCDIR)/compilerplugins/Makefile.mk |