summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:40:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:40:20 +0000
commitbc94b1a722667694fbe0cf03d7fd5f96b588e0f5 (patch)
tree5cd036b3a645dde36e3dfa34b303d15e63726849 /debian/rules
parentAdding upstream version 1.3. (diff)
downloadlibnvme-debian.tar.xz
libnvme-debian.zip
Adding debian version 1.3-1.debian/1.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5163c8c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+export KBUILD_BUILD_TIMESTAMP = "@$(SOURCE_DATE_EPOCH)"
+
+%:
+ dh ${@} --buildsystem=meson --with python3
+
+override_dh_auto_configure:
+ dh_auto_configure -- -Ddocs=man -Ddocs-build=true -Dpython=true -Dopenssl=enabled --default-library=both
+
+execute_after_dh_auto_install:
+ # remove empty manpages
+ find debian/tmp/usr/share/man -type f -empty -exec rm -f {} +
+
+ # fix wrong-manual-section
+ sed -i -e 's| 9 | 2 |' debian/tmp/usr/share/man/*/*.2