emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/android b91396bace7 2/4: Improve reliability of Java code rebuil


From: Po Lu
Subject: feature/android b91396bace7 2/4: Improve reliability of Java code rebuilds
Date: Sun, 19 Feb 2023 22:41:44 -0500 (EST)

branch: feature/android
commit b91396bace7e09ba1dc0430ce5e2b5b3000fe77a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Improve reliability of Java code rebuilds
    
    * java/Makefile.in ($(CLASS_FILES)): Depend on the Java
    compiler's internal dependency tracking.
---
 java/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/Makefile.in b/java/Makefile.in
index 482419f07fa..af44d551701 100644
--- a/java/Makefile.in
+++ b/java/Makefile.in
@@ -257,8 +257,8 @@ $(RESOURCE_FILE): $(RESOURCE_FILES)
 $(CLASS_FILES): $(RESOURCE_FILE)
 
 .SUFFIXES: .java .class
-.java.class &:
-       $(AM_V_JAVAC) $(JAVAC) $(JAVAFLAGS) $<
+$(CLASS_FILES) &: $(JAVA_FILES)
+       $(AM_V_JAVAC) $(JAVAC) $(JAVAFLAGS) $(JAVA_FILES)
 
 # N.B. that find must be called all over again in case javac generated
 # nested classes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]