summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b261bd1)
raw | patch | inline | side by side (parent: b261bd1)
author | Florian Forster <octo@collectd.org> | |
Fri, 25 Jan 2013 13:48:29 +0000 (14:48 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 25 Jan 2013 13:48:29 +0000 (14:48 +0100) |
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.
specified with the "-I" option _and_ you need to specify the full path
to the file.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 1891f7a944fbf13848cd61caec3c751bb9e5e4d7..a30bc186cd11eb8b96285b9a00e7d2f135592e4e 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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)