summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-03-28 06:35:19 -0400
committerGitHub <noreply@github.com>2023-03-28 06:35:19 -0400
commit328b64fcb51c5f4a3f4ff9effc824f34d2d24cad (patch)
tree81868b764468241ee574b3e51733c5bee2d222dc
parentc4e3d5569f56faf615a6177aadc6e614dd88684c (diff)
parent9b8f605bbb6fd3a08f12272f794c00d343d8fad3 (diff)
Merge pull request #13119 from mjstapp/fix_mgmt_proto_makefile
build: clean up mgmtd lib protobuf make syntax
-rw-r--r--Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index e70e65d333..f56e1b8e0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -165,14 +165,11 @@ am__v_PROTOC_C_ = $(am__v_PROTOC_C_$(AM_DEFAULT_VERBOSITY))
am__v_PROTOC_C_0 = @echo " PROTOC_C" $@;
am__v_PROTOC_C_1 =
-.proto.pb-c.c:
+%.pb-c.c %.pb-c.h : %.proto
$(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_builddir) $^
$(AM_V_GEN)$(SED) -i -e '1i\
#include "config.h"' $@
-.pb-c.c.pb-c.h:
- @echo " GEN " $@
-
include doc/subdir.am
include doc/user/subdir.am
include doc/manpages/subdir.am