From 2b00f66926ac954d0250202d3086f29866163d96 Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Tue, 24 Jan 2023 10:40:44 +0800
Subject: [PATCH] Improve lib-src/Makefile.in

* lib-src/Makefile.in (DONT_INSTALL):
(clean): Correctly define asset-directory-tool.
---
 lib-src/Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index ddf141e2770..8a1922703de 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -167,9 +167,9 @@ UTILITIES = hexl${EXEEXT} 			 	 \
 ifeq ($(HAVE_BE_APP),yes)
 DONT_INSTALL= make-docfile${EXEEXT} make-fingerprint${EXEEXT} be-resources
 else
-ifeq ($(HAVE_ANDROID),yes)
+ifeq ($(XCONFIGURE)$(HAVE_ANDROID),yes)
 DONT_INSTALL = make-docfile${EXEEXT} make-fingerprint${EXEEXT} \
-	asset-directory-tool
+	asset-directory-tool${EXEEXT}
 else
 DONT_INSTALL= make-docfile${EXEEXT} make-fingerprint${EXEEXT}
 endif
@@ -390,7 +390,7 @@ clean: mostlyclean
 	rm -f ${EXE_FILES}
 
 distclean: clean
-	rm -f TAGS Makefile blessmail
+	rm -f TAGS Makefile blessmail Makefile.android
 
 bootstrap-clean maintainer-clean: distclean
 
-- 
2.39.5