summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rwxr-xr-xrules15
1 files changed, 15 insertions, 0 deletions
diff --git a/rules b/rules
new file mode 100755
index 0000000..d767f2f
--- /dev/null
+++ b/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export PYBUILD_DESTDIR_python3=debian/python3-dns/
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+ dh_auto_install
+ find $(CURDIR)/debian/python3-dns -name win32dns.py | xargs rm -f
+
+override_dh_auto_clean:
+ dh_clean
+ rm -rf $(CURDIR)/build
+ rm -rf $(CURDIR)/DNS/__pycache__