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.0~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37105d4bfe1ad356746cf7df19bc0323f227987d;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