aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorperpe <msperpe@googlemail.com>2013-09-16 17:49:39 +0200
committerTrent Nelson <trent.a.b.nelson@gmail.com>2013-10-24 18:01:45 -0400
commitf6f5412c7e14f9e3adae3a2925032625ab5f3d2d (patch)
treeaf5e5aa7e6f8ac3436a81efb8e6d2f93e4d02263
parent7c84f33895440e2a90bce0efa8811b03f1194ff1 (diff)
[DROID]Added make clean to Android packaging
-rw-r--r--Makefile.in3
-rw-r--r--tools/android/packaging/Makefile12
2 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 77cf789abb..3fa61f8d45 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -546,6 +546,9 @@ install: install-binaries install-arch install-datas
apk: install
make -C tools/android/packaging
+apk-clean:
+ make -C tools/android/packaging clean
+
install-binaries: install-scripts
@echo "Copying XBMC binary to $(DESTDIR)$(libdir)/xbmc/"
@install -d $(DESTDIR)$(libdir)/xbmc
diff --git a/tools/android/packaging/Makefile b/tools/android/packaging/Makefile
index 91c13dd15c..5416cf6c0b 100644
--- a/tools/android/packaging/Makefile
+++ b/tools/android/packaging/Makefile
@@ -112,4 +112,16 @@ armeabi-v7a: $(XBMC_ARM_TOOLCHAIN) force
x86: $(XBMC_X86_TOOLCHAIN) force
XBMC_OVERRIDE_PLATFORM=$@ $(X86OVERRIDES) $(MAKE) package
+clean:
+ rm -rf images
+ rm -rf xbmc/lib
+ rm -rf xbmc/libs
+ rm -rf xbmc/assets
+ rm -rf xbmc/obj
+ rm -rf xbmc/res/raw
+ rm -rf tmp
+ rm xbmc/res/drawable/splash.png
+ rm xbmc/src/R.java
+ rm xbmc/classes.dex
+
.PHONY: arm armeabi-v7a x86 force extras libs