summaryrefslogtreecommitdiff
path: root/ospfclient
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-20 15:02:54 -0500
committerJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-22 13:46:30 -0500
commitb3dc3680bcb147748deb5b5a96ffa9aee7446102 (patch)
treee80c6bc8959f85991778828a1bd47614b38f4658 /ospfclient
parentd9775c690cb6f3d5fcc91805c3ada83aaa8f4835 (diff)
tools, ospfclient: add a config option to skip installing python scripts
The new config option --disable-python-runtime allows make install to proceed without installing any of the python scripts. When installing from deb/rpm packages those are bundled as frr-pythontools, which is independent from the frr binaries and can already be skipped. I.e, this PR gives the option to skip those scripts when building/installing from sources too. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'ospfclient')
-rw-r--r--ospfclient/subdir.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfclient/subdir.am b/ospfclient/subdir.am
index 289ddd009d..2bf32544fd 100644
--- a/ospfclient/subdir.am
+++ b/ospfclient/subdir.am
@@ -7,10 +7,13 @@ lib_LTLIBRARIES += ospfclient/libfrrospfapiclient.la
noinst_PROGRAMS += ospfclient/ospfclient
#man8 += $(MANBUILD)/frr-ospfclient.8
+if PYTHON_RUNTIME_DEPENDENCY
sbin_SCRIPTS += \
ospfclient/ospfclient.py \
# end
endif
+endif
+
ospfclient_libfrrospfapiclient_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0
ospfclient_libfrrospfapiclient_la_LIBADD = lib/libfrr.la