[collectd] [PATCH 1/2] Automake 1.9 compatibility: don't use $(builddir)

Benjamin Jacobs jacobsbenja at gmail.com
Sun Sep 2 23:53:24 CEST 2012


Automake <= 1.9 don't define $(builddir) which is always defined to
'.' anyway.
---
 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index f106fa1..1009874 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1370,7 +1370,7 @@ EXTRA_DIST +=   collectd.conf.pod \
 	fi
 
 pinba.pb-c.c pinba.pb-c.h: pinba.proto
-	protoc-c --c_out $(builddir) pinba.proto
+	protoc-c --c_out . pinba.proto
 
 install-exec-hook:
 	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
-- 
1.7.10.4





More information about the collectd mailing list