diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-20 15:02:54 -0500 |
|---|---|---|
| committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-22 13:46:30 -0500 |
| commit | b3dc3680bcb147748deb5b5a96ffa9aee7446102 (patch) | |
| tree | e80c6bc8959f85991778828a1bd47614b38f4658 /ospfclient | |
| parent | d9775c690cb6f3d5fcc91805c3ada83aaa8f4835 (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.am | 3 |
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 |
