summaryrefslogtreecommitdiff
path: root/packages/keepalived/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'packages/keepalived/debian/rules')
-rwxr-xr-xpackages/keepalived/debian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/keepalived/debian/rules b/packages/keepalived/debian/rules
new file mode 100755
index 00000000..0ad3c6b1
--- /dev/null
+++ b/packages/keepalived/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+#export DH_OPTIONS=-v
+
+%:
+ dh $@ --with autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-snmp --enable-sha1 --enable-snmp-rfcv2 --enable-snmp-rfcv3 --enable-dbus --enable-json --enable-bfd --enable-regex
+
+
+override_dh_auto_install:
+ dh_auto_install
+ rm -rf debian/keepalived/etc/keepalived/samples/
+ rm -rf debian/keepalived/etc/rc.d
+ rm -rf debian/keepalived/etc/keepalived/keepalived.conf
+ rm -rf debian/keepalived/etc/sysconfig
+ rm -rf debian/keepalived/usr/man