summaryrefslogtreecommitdiff
path: root/server/autobuild.android
diff options
context:
space:
mode:
authorJohan Widén <j.e.widen@gmail.com>2023-07-29 11:08:33 +0200
committerVedang Manerikar <ved.manerikar@gmail.com>2025-12-29 09:45:02 +0530
commitd89686e4e0b35d8a0deff5d8709b81edd5cd5630 (patch)
tree64a97b5f19208287eb3a4c45b8e7ce35f196ff72 /server/autobuild.android
parent07d4e5a07baa4ea7c2b8a03d25a0d7fb4cf88e81 (diff)
Add support for Android Emacs using Termux
Notes from the original PR: The dependencies for android in autobuild can not be installed in pdf-tools-install, they have to be installed manually in Termux. But the dependencies are checked when running autobuild. pdf-tools-install successfully installs epdfinfo in Android Emacs. One can then view pdf files. The shebang in autobuild does not work in Termux, I therefore had to create a separate script "autobuild.android" that in turn executes autobuild. The problem with the shebang is that "env" in Termux is not located at "/usr/bin/env". pdf-tools/Makefile does currently not work in Android Emacs, but it is not needed for running pdf-tools-install. Fixing this will have to be done in a separate pull request, if deemed necessary. Reason: There is yet no consensus for how to implement a command line emacs, to be run in batch mode, in Android Emacs. I have successfully run "make test" in Ubuntu, in the repo feature branch. Running "make server-test" in the master branch fails, so I have not tested this in the feature branch. Closes: #230 Author: @johanwiden
Diffstat (limited to 'server/autobuild.android')
-rwxr-xr-xserver/autobuild.android2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/autobuild.android b/server/autobuild.android
new file mode 100755
index 0000000..4fc076f
--- /dev/null
+++ b/server/autobuild.android
@@ -0,0 +1,2 @@
+#!/bin/sh
+sh autobuild "$@"