summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:39:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:39:07 +0000
commitc3aed8de4c3eaeaa5341b0811b8052d316c789f8 (patch)
treecd182dcb96819dfc9328b7f724ebaaf10de56c58 /debian/rules
parentAdding upstream version 0.26.0. (diff)
downloadrust-cbindgen-c3aed8de4c3eaeaa5341b0811b8052d316c789f8.tar.xz
rust-cbindgen-c3aed8de4c3eaeaa5341b0811b8052d316c789f8.zip
Adding debian version 0.26.0-3.debian/0.26.0-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-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..fe19b82
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_test:
+ dh_auto_test -- test --all
+
+override_dh_installman:
+ help2man debian/cbindgen/usr/bin/cbindgen > debian/cbindgen.1
+ dh_installman -O--buildsystem=cargo
+
+execute_after_dh_testdir:
+ find . ! -newermt "jan 01, 2000" -exec touch {} +