Code

Automake 1.9 compatibility: don't use $(builddir)
authorBenjamin Jacobs <jacobsbenja@gmail.com>
Sun, 2 Sep 2012 21:53:24 +0000 (23:53 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 4 Sep 2012 08:16:26 +0000 (10:16 +0200)
Automake <= 1.9 don't define $(builddir) which is always defined to
'.' anyway.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/Makefile.am

index ba59bf5495b35b98bb394be7e04482061e554f6d..782fad91dcd3c8bd8b2da1dc201c05c51ec8abf1 100644 (file)
@@ -1335,7 +1335,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)