]> git.eshelyaron.com Git - emacs.git/commitdiff
* java/Makefile.in (classes.dex): Make proguard.conf relative to srcdir.
authorPo Lu <luangruo@yahoo.com>
Wed, 10 Apr 2024 15:22:38 +0000 (23:22 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:30:59 +0000 (22:30 +0200)
(cherry picked from commit 15bafc04322e9c4e85a00fe593239935eb723b6e)

java/Makefile.in

index daa577467c192c94b4cc6a57d02d60cff4edf030..186194fb6acab14019a4387428d637e3552ff089 100644 (file)
@@ -305,14 +305,14 @@ $(CLASS_FILES) &: $(JAVA_FILES)
 # N.B. that find must be called all over again in case javac generated
 # nested classes.
 
-classes.dex: $(CLASS_FILES) $(if $(IS_D8_R8), proguard.conf)
+classes.dex: $(CLASS_FILES) $(if $(IS_D8_R8), $(srcdir)/proguard.conf)
        $(AM_V_D8) $(D8) --classpath $(ANDROID_JAR)             \
          $(subst $$,\$$,$(shell find $(srcdir) -type f         \
            -name *.class)) --output $(builddir)                \
          --min-api $(ANDROID_MIN_SDK)                          \
          $(if $(filter false,$(ANDROID_DEBUGGABLE)),--release, \
                 --debug) \
-         $(if $(IS_D8_R8),--pg-conf proguard.conf)
+         $(if $(IS_D8_R8),--pg-conf $(srcdir)/proguard.conf)
 
 # When emacs.keystore expires, regenerate it with:
 #