summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index fa0e7be..d8c0c15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -93,6 +93,12 @@ override_dh_auto_install:
rm -rf debian/tmp/usr/include
-rm debian/tmp/usr/lib/frr/ssd
+# drop test-tools files
+ifeq (,$(filter $(dh_listpackages), frr-test-tools))
+ rm -f debian/tmp/usr/lib/frr/fpm_listener
+else
+endif
+
override_dh_auto_build:
dh_auto_build -- $(MAKE_SILENT)