summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:41:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:41:33 +0000
commitccee3e4a033ffd7a7048d50623666aebd50e7288 (patch)
treea80b306b174bb5bd77835dfb274690264d131d72 /debian/rules
parentAdding upstream version 2.8. (diff)
downloadnvme-cli-a9a5541022f49137c1f1a209dc5838f178abf3e9.tar.xz
nvme-cli-a9a5541022f49137c1f1a209dc5838f178abf3e9.zip
Adding debian version 2.8-1.debian/2.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bb8767e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@} --buildsystem=meson
+
+override_dh_auto_configure:
+ dh_auto_configure -- -Ddocs=man -Ddocs-build=true
+
+execute_after_dh_auto_install:
+ # removing unused files
+ rm -rf debian/nvme-cli/usr/lib/dracut
+
+ # fix wrong-manual-section
+ sed -i -e 's|\\" "1"|" "1"|' debian/nvme-cli/usr/share/man/*/*.1
+
+override_dh_auto_test:
+ # disabled, requires a NVMe device