[Kde-bindings] [r439924] $< vs $*.java broke srcdir != objdir compilation for dcopjava

Adeodato Simó dato at net.com.org.es
Sun Mar 19 21:12:10 UTC 2006


Hi,

  it seems that r439924 broke srcdir != objdir for dcopjava:

--- branches/KDE/3.5/kdebindings/dcopjava/binding/org/kde/DCOP/Makefile.am      (revision 439923)
+++ branches/KDE/3.5/kdebindings/dcopjava/binding/org/kde/DCOP/Makefile.am      (revision 439924)
@@ -3,6 +3,6 @@

 SUFFIXES = .java .class
 .java.class:
-       CLASSPATH=$(top_srcdir)/dcopjava/binding $(JAVAC) -d ../../../ $<
+       CLASSPATH=$(top_srcdir)/dcopjava/binding $(JAVAC) -d ../../../ $*.java

  The $< substitution variable includes all the path, while with $*.java
  the path is lost and the compiler can't find the input file.

  The commit log says this was done to unbreak unsermake compilations,
  perhaps there's another way this can be solved?

  Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
       Listening to: Joaquín Sabina - Incluso en estos tiempos [Maqueta]




More information about the Kde-bindings mailing list