]> git.eshelyaron.com Git - emacs.git/commitdiff
Update Android port
authorPo Lu <luangruo@yahoo.com>
Mon, 8 May 2023 00:34:27 +0000 (08:34 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 8 May 2023 00:34:27 +0000 (08:34 +0800)
* java/Makefile.in (install_temp/assets/version): Fix generation
in out of tree builds.

java/Makefile.in

index 3b06fc1d4cc373cbd2906913cc4f1368ce1bcf24..84173cd9655dd7c3ac0492853cbab69b58d072cf 100644 (file)
@@ -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 > $@