From: Florian Forster Date: Fri, 25 Jan 2013 13:48:29 +0000 (+0100) Subject: src/Makefile.am: Fix "make distcheck". X-Git-Tag: collectd-5.1.2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8840387cd581d667a92039ae42d1191e8f480ece;p=collectd.git 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. --- 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)