summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@hpe.com>2016-06-14 15:06:34 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-06-22 15:17:50 +0000
commit031360e2953e1d8f190a897201d16cf90f9c042c (patch)
tree6987748915c387d819ae9bac4ae1ea75da9699cd
parentf4cafc65a35b7c40195d6d519159342b8bd2e941 (diff)
vtysh: auto-generated vtysh_cmd.c file should depend on its creator
-rw-r--r--vtysh/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/vtysh/Makefile.am b/vtysh/Makefile.am
index 5b9e5abd09..2180a78629 100644
--- a/vtysh/Makefile.am
+++ b/vtysh/Makefile.am
@@ -37,6 +37,5 @@ vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
$(top_srcdir)/zebra/zebra_fpm.c \
$(top_srcdir)/zebra/zebra_ptm.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