summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0b2cbc2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+DIR := debian/openvpn-plugin-duo
+PREFIX := /usr/lib/openvpn/duo
+
+%:
+ dh $@ --with python3, --with quilt
+
+override_dh_auto_build:
+ make PREFIX=$(PREFIX)
+
+override_dh_auto_install:
+ mkdir -p $(DIR)/$(PREFIX)
+
+ make install DESTDIR=$(DIR) PREFIX=$(PREFIX)