summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2020-11-18 07:27:47 -0300
committerGitHub <noreply@github.com>2020-11-18 07:27:47 -0300
commit4287336cd7fed5ad1bd65f0d57cac513b1754be2 (patch)
tree471ec15b982aeec31494ea7492c1d2c506164f15
parent151c9d9ec6bf55489826a4d3ada53602feed47ca (diff)
parentdfca5be576ecfdad85beed059d90913e8339c338 (diff)
Merge pull request #7549 from vincentbernat/fix/oot-build
vtysh: fix out-of-tree build not finding vtysh/daemons.pl
-rw-r--r--vtysh/subdir.am3
1 files changed, 2 insertions, 1 deletions
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))