]> git.puffer.fish Git - matthieu/frr.git/commitdiff
build: make rfptest and ospfclient "noinst"
authorDavid Lamparter <equinox@diac24.net>
Sun, 28 Oct 2018 15:05:38 +0000 (16:05 +0100)
committerDavid Lamparter <equinox@diac24.net>
Sun, 28 Oct 2018 18:48:55 +0000 (19:48 +0100)
Both of these are testing/demo-style tools that don't make sense as part
of a normal installation.  So don't install them.

NB: this is only the executables, libospfclient and the RFP code are not
affected.

Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/rfp-example/rfptest/subdir.am
ospfclient/subdir.am
redhat/frr.spec.in

index fa7c66011641e25b0b819b1b64bb71ae0fdc6570..9f6d33a855d8a52410479e280f5dfc69352daec3 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 if ENABLE_BGP_VNC
-sbin_PROGRAMS += bgpd/rfp-example/rfptest/rfptest
+noinst_PROGRAMS += bgpd/rfp-example/rfptest/rfptest
 endif
 
 bgpd_rfp_example_rfptest_rfptest_CFLAGS = -I$(top_srcdir)/bgpd/rfapi
index d42c5b450e191a6457a172942556ac801219e770..c05d920d5fb4d9eabd949e887bc5de8a90f3ae54 100644 (file)
@@ -4,7 +4,7 @@
 
 if OSPFCLIENT
 lib_LTLIBRARIES += ospfclient/libfrrospfapiclient.la
-sbin_PROGRAMS += ospfclient/ospfclient
+noinst_PROGRAMS += ospfclient/ospfclient
 man8 += $(MANBUILD)/ospfclient.8
 endif
 
index 1395af5dfb1584e14b00dcfebb76bec187cc43d5..671858aa02f3846a37dfc1d53daee19fa36e5e7b 100644 (file)
@@ -647,9 +647,6 @@ fi
 
 %files devel
 %{_libdir}/lib*.so
-%if %{with_ospfclient}
-    %{_sbindir}/ospfclient
-%endif
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/*.h
 %dir %{_includedir}/%{name}/ospfd