summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:05 +0000
commit3f3d5c3dfaaae089ff38e368212f330d442f68ea (patch)
treea4f23c9aa9dce0ca7868e1bbf760f4e47999a0e3 /debian/rules
parentAdding upstream version 2.4+really2.3. (diff)
downloadnvme-cli-3f3d5c3dfaaae089ff38e368212f330d442f68ea.tar.xz
nvme-cli-3f3d5c3dfaaae089ff38e368212f330d442f68ea.zip
Adding debian version 2.4+really2.3-3.debian/2.4+really2.3-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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