summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-21 12:47:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-21 15:20:32 -0400
commitbe7128f8f403dc4de99ca0159399edaca144a4a1 (patch)
treedeaf3c4d940f21ff1399b40b137bee8079df879e /Makefile
parent236a7b14323ca3309562e236b230da50375864c6 (diff)
build an apk containing git-annex and a terminal emulator
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 953a2936e..40ba8e0e7 100644
--- a/Makefile
+++ b/Makefile
@@ -241,22 +241,7 @@ ANDROIDAPP_DEST=$(GIT_ANNEX_TMP_BUILD_DIR)/git-annex.android
androidapp:
$(MAKE) android
$(MAKE) -C standalone/android
-
- rm -rf "$(ANDROIDAPP_DEST)"
- install -d "$(ANDROIDAPP_DEST)"
-
- cp -aR standalone/android/git-annex-bundle "$(ANDROIDAPP_DEST)"
- cp -a standalone/android/runshell "$(ANDROIDAPP_DEST)"
- install -d "$(ANDROIDAPP_DEST)/git-annex-bundle/bin"
- cp git-annex "$(ANDROIDAPP_DEST)/git-annex-bundle/bin/"
-
- $$HOME/.ghc/android-14/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-strip "$(ANDROIDAPP_DEST)"/git-annex-bundle/bin/*
-
- ln -sf git-annex "$(ANDROIDAPP_DEST)/git-annex-bundle/bin/git-annex-shell"
- zcat standalone/licences.gz > $(ANDROIDAPP_DEST)/git-annex-bundle/LICENSE
- install -d "$(ANDROIDAPP_DEST)/git-annex-bundle/templates"
-
- cd $(ANDROIDAPP_DEST) && tar czf ../git-annex-android.tar.gz .
+ cp standalone/android/source/term/bin/Term-debug.apk $(GIT_ANNEX_TMP_BUILD_DIR)/GitAnnex.apk
# used by ./ghci
getflags: