summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d818e34
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export deb_systemdsystemunitdir=$(shell pkg-config --variable=systemdsystemunitdir systemd)
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --enable-pie \
+ --with-snmp \
+ --with-xml \
+ --with-systemdsystemunitdir=$(deb_systemdsystemunitdir)