From 37105d4bfe1ad356746cf7df19bc0323f227987d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 23 May 2015 11:00:38 +0200 Subject: [PATCH] bindings/java/Makefile.am: Use $(srcdir) when specifying dependencies. This fixes out-of-tree builds, like "make distcheck" does. --- bindings/java/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0