From: Vincent Bernat Date: Tue, 17 Nov 2020 19:49:20 +0000 (+0100) Subject: vtysh: fix out-of-tree build not finding vtysh/daemons.pl X-Git-Tag: base_7.6~259^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F7549%2Fhead;p=mirror%2Ffrr.git vtysh: fix out-of-tree build not finding vtysh/daemons.pl This is needed to build with: mkdir build && cd build && ../configure && make Signed-off-by: Vincent Bernat --- diff --git a/vtysh/subdir.am b/vtysh/subdir.am index 1e4439d274..86861b0390 100644 --- a/vtysh/subdir.am +++ b/vtysh/subdir.am @@ -33,8 +33,9 @@ BUILT_SOURCES += vtysh/vtysh_daemons.h # force vtysh_daemons.h $(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h +CLEANFILES += vtysh/vtysh_daemons.h vtysh/vtysh_daemons.h: - $(PERL) vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h + $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h AM_V_EXTRACT = $(am__v_EXTRACT_$(V)) am__v_EXTRACT_ = $(am__v_EXTRACT_$(AM_DEFAULT_VERBOSITY))