vtysh: auto-generated vtysh_cmd.c file should depend on its creator
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 @@
 		  $(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