summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
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..bbdb2f9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+DIR="$(CURDIR)/debian/spectre-meltdown-checker/usr/bin/"
+
+%:
+ dh $@
+
+override_dh_install:
+ mkdir -p $(DIR)
+ cp spectre-meltdown-checker.sh $(DIR)/spectre-meltdown-checker
+
+override_dh_installman:
+ help2man $(DIR)/spectre-meltdown-checker -n "Spectre & Meltdown vulnerability/mitigation checker" > debian/spectre-meltdown-checker.1
+ dh_installman