summaryrefslogtreecommitdiffstats
path: root/ospfclient/subdir.am
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-20 22:02:54 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-22 20:46:30 +0200
commitb3dc3680bcb147748deb5b5a96ffa9aee7446102 (patch)
treee80c6bc8959f85991778828a1bd47614b38f4658 /ospfclient/subdir.am
parentMerge pull request #16597 from kprovost/master (diff)
downloadfrr-b3dc3680bcb147748deb5b5a96ffa9aee7446102.tar.xz
frr-b3dc3680bcb147748deb5b5a96ffa9aee7446102.zip
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/subdir.am')
-rw-r--r--ospfclient/subdir.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfclient/subdir.am b/ospfclient/subdir.am
index 289ddd009..2bf32544f 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