diff options
| author | Po Lu <luangruo@yahoo.com> | 2023-05-08 08:34:27 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2023-05-08 08:34:27 +0800 |
| commit | 428c59180d51ab6fa4ac820bb49189ae81ded3cb (patch) | |
| tree | f3d1388bea67765813233e9085e1b0a77354c3d4 /java | |
| parent | 9a90aeae07d1954aa1d1e626d1b5b1ce35a4c981 (diff) | |
Update Android port
* java/Makefile.in (install_temp/assets/version): Fix generation
in out of tree builds.
Diffstat (limited to 'java')
| -rw-r--r-- | java/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 > $@ |
