summaryrefslogtreecommitdiffstats
path: root/vtysh/subdir.am
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.ch>2020-11-17 20:49:20 +0100
committerVincent Bernat <vincent@bernat.ch>2020-11-17 20:51:23 +0100
commitdfca5be576ecfdad85beed059d90913e8339c338 (patch)
tree13402dedbce1f19564e692a6d8453e6ce4e6fc6d /vtysh/subdir.am
parentMerge pull request #6851 from kuldeepkash/bgp_graceful_restart (diff)
downloadfrr-dfca5be576ecfdad85beed059d90913e8339c338.tar.xz
frr-dfca5be576ecfdad85beed059d90913e8339c338.zip
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 <vincent@bernat.ch>
Diffstat (limited to 'vtysh/subdir.am')
-rw-r--r--vtysh/subdir.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/vtysh/subdir.am b/vtysh/subdir.am
index 1e4439d27..86861b039 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))