summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2019-02-03 17:39:04 -0300
committerFelipe Sateler <fsateler@debian.org>2019-02-03 17:39:04 -0300
commit1e8f8b3631535537c1819ba0a842f36b4cb4ca26 (patch)
tree2ede9cbd0a23a6603472230629a3e5b4dd8123e0
parent28f1341cbb4f4a5ca82e5733ad90347bc3b1a59b (diff)
Ship the upstream manpage instead of using help2man
-rw-r--r--debian/control2
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules6
3 files changed, 3 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 543c269..c5c0f55 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: admin
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
- help2man,
+ pandoc,
python3-all,
python3-setuptools
Standards-Version: 4.0.0
diff --git a/debian/docs b/debian/docs
index b43bf86..1e13d39 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
README.md
+mkosi.md
diff --git a/debian/rules b/debian/rules
index 1733887..7e0723b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,4 @@ export PYBUILD_NAME=mkosi
# need explicit target to be able to mark as phony
override_dh_auto_build:
dh_auto_build --buildsystem=pybuild
- help2man --name "Create legacy-free OS images" \
- --version-string "mkosi $(DEB_VERSION_UPSTREAM)" \
- --no-info \
- -o debian/mkosi.1 \
- ./mkosi
+ pandoc --standalone --to man --output debian/mkosi.1 mkosi.md