[quagga-dev 15534] [PATCH] vtysh: auto-generated vtysh_cmd.c file should depend on its creator

Paul Jakma paul.jakma at hpe.com
Tue Jun 14 15:06:34 BST 2016


---
 vtysh/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vtysh/Makefile.am b/vtysh/Makefile.am
index d347735..e44cd49 100644
--- a/vtysh/Makefile.am
+++ b/vtysh/Makefile.am
@@ -36,6 +36,5 @@ vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
 		  $(top_srcdir)/zebra/zebra_routemap.c \
 	          $(top_srcdir)/zebra/zebra_fpm.c
 
-vtysh_cmd.c: $(vtysh_cmd_FILES)
-	./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
-
+vtysh_cmd.c: $(vtysh_cmd_FILES) extract.pl
+	./extract.pl $(vtysh_cmd_FILES) > vtysh_cmd.c
-- 
2.5.5





More information about the Quagga-dev mailing list