From 8840387cd581d667a92039ae42d1191e8f480ece Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 25 Jan 2013 14:48:29 +0100 Subject: [PATCH] src/Makefile.am: Fix "make distcheck". protoc-c has a weird handling of files not in the CWD: They have to be specified with the "-I" option _and_ you need to specify the full path to the file. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1891f7a9..a30bc186 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1371,7 +1371,7 @@ EXTRA_DIST += collectd.conf.pod \ fi pinba.pb-c.c pinba.pb-c.h: pinba.proto - protoc-c --c_out . pinba.proto + protoc-c -I$(srcdir) --c_out . $(srcdir)/pinba.proto install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) -- 2.11.0