From c5746708478dd0c1b430de3ea6b92c8657bb4bcd Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 13 Apr 2021 23:56:24 +0200 Subject: [PATCH] build: don't use $(top_srcdir) in vtysh_scan It's not necessary and can confuse scripts. Signed-off-by: David Lamparter --- pathd/subdir.am | 4 ++-- zebra/subdir.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pathd/subdir.am b/pathd/subdir.am index 38df32648..4eabdd2ac 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 80ea9ac7b..f0d1c5844 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 -- 2.39.5