From: Florian Forster Date: Sat, 23 May 2015 09:00:38 +0000 (+0200) Subject: bindings/java/Makefile.am: Use $(srcdir) when specifying dependencies. X-Git-Tag: collectd-5.5.1~116^2~17^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03fcb41ab6f1938ce82f93d14738eb92ab59560f;p=collectd.git bindings/java/Makefile.am: Use $(srcdir) when specifying dependencies. This fixes out-of-tree builds, like "make distcheck" does. --- diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am index f8e936a8..6a398cc3 100644 --- a/bindings/java/Makefile.am +++ b/bindings/java/Makefile.am @@ -24,7 +24,7 @@ EXTRA_DIST = org/collectd/api/CollectdConfigInterface.java \ org/collectd/java/GenericJMX.java \ org/collectd/java/JMXMemory.java -java-build-stamp: org/collectd/api/*.java org/collectd/java/*.java +java-build-stamp: $(srcdir)/org/collectd/api/*.java $(srcdir)/org/collectd/java/*.java $(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java $(JAVAC) -d "." "$(srcdir)/org/collectd/java"/*.java mkdir -p .libs