summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ddc4df6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#! /usr/bin/make -f
+
+%:
+ dh $@
+
+clean:
+ make clean
+ dh_clean
+
+override_dh_auto_test:
+ make tests
+
+override_dh_auto_install:
+ DESTDIR=debian/dh-python PREFIX=/usr make install
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ DESTDIR=debian/dh-python PREFIX=/usr make manpages
+endif
+ # generate maintainer scripts, etc.
+ ./dh_python3