summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-13 23:56:24 +0200
committerDavid Lamparter <equinox@diac24.net>2021-04-13 23:57:14 +0200
commitc5746708478dd0c1b430de3ea6b92c8657bb4bcd (patch)
tree81023215267fe24cd103ca3053a9427d77f5513c
parent0ae24ff56611e9151e0c061910ad34fee9fac53b (diff)
build: don't use $(top_srcdir) in vtysh_scan
It's not necessary and can confuse scripts. Signed-off-by: David Lamparter <equinox@diac24.net>
-rw-r--r--pathd/subdir.am4
-rw-r--r--zebra/subdir.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/pathd/subdir.am b/pathd/subdir.am
index 38df326489..4eabdd2ac5 100644
--- a/pathd/subdir.am
+++ b/pathd/subdir.am
@@ -5,13 +5,13 @@
if PATHD
noinst_LIBRARIES += pathd/libpath.a
sbin_PROGRAMS += pathd/pathd
-vtysh_scan += $(top_srcdir)/pathd/path_cli.c
+vtysh_scan += pathd/path_cli.c
vtysh_daemons += pathd
# TODO add man page
#man8 += $(MANBUILD)/pathd.8
if PATHD_PCEP
-vtysh_scan += $(top_srcdir)/pathd/path_pcep_cli.c
+vtysh_scan += pathd/path_pcep_cli.c
module_LTLIBRARIES += pathd/pathd_pcep.la
endif
diff --git a/zebra/subdir.am b/zebra/subdir.am
index 80ea9ac7b8..f0d1c5844f 100644
--- a/zebra/subdir.am
+++ b/zebra/subdir.am
@@ -232,7 +232,7 @@ zebra_dplane_fpm_nl_la_SOURCES = zebra/dplane_fpm_nl.c
zebra_dplane_fpm_nl_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
zebra_dplane_fpm_nl_la_LIBADD =
-vtysh_scan += $(top_srcdir)/zebra/dplane_fpm_nl.c
+vtysh_scan += zebra/dplane_fpm_nl.c
endif
if NETLINK_DEBUG