From: Po Lu Date: Mon, 8 May 2023 00:34:27 +0000 (+0800) Subject: Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=428c59180d51ab6fa4ac820bb49189ae81ded3cb;p=emacs.git Update Android port * java/Makefile.in (install_temp/assets/version): Fix generation in out of tree builds. --- diff --git a/java/Makefile.in b/java/Makefile.in index 3b06fc1d4cc..84173cd9655 100644 --- a/java/Makefile.in +++ b/java/Makefile.in @@ -233,7 +233,8 @@ install_temp/assets/directory-tree: $(libsrc)/asset-directory-tool \ install_temp/assets/directory-tree install_temp/assets/version: install_temp - $(AM_V_GEN) { (git rev-parse HEAD || echo "Unknown") \ + $(AM_V_GEN) { (cd $(top_srcdir) \ + && git rev-parse HEAD || echo "Unknown") \ && (git rev-parse --abbrev-ref HEAD \ || echo "Unknown") } 2> /dev/null > $@