vtysh: auto-generated vtysh_cmd.c file should depend on its creator

This commit is contained in:
Paul Jakma 2016-06-14 15:06:34 +01:00 committed by Quentin Young
parent f4cafc65a3
commit 031360e295

View File

@ -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