diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-03-24 18:57:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-03-24 20:19:52 +0000 |
commit | 271dd9284926039fc78e570162356b11d48077d1 (patch) | |
tree | e146cef567ed30e91fee783979c35eed0b202436 | |
parent | Releasing debian version 0.13.1-2. (diff) | |
download | gitlint-271dd9284926039fc78e570162356b11d48077d1.tar.xz gitlint-271dd9284926039fc78e570162356b11d48077d1.zip |
Adding manpage generated with help2man.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/control b/debian/control index a7a1a28..82ec1b6 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Build-Depends: debhelper-compat (= 12), dh-python, git, + help2man, pylint, python3-all, python3-arrow, diff --git a/debian/rules b/debian/rules index 8ba7386..50d8599 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,14 @@ override_dh_auto_test: PYBUILD_SYSTEM=custom dh_auto_test execute_after_dh_auto_install: - # we don't want them in the package? + # manpage + mkdir -p debian/gitlint/usr/share/man/man1 + + PYTHONPATH=debian/gitlint/usr/lib/$$(py3versions -d)/dist-packages \ + help2man --no-discard-stderr --name 'Git commit message linter' \ + debian/gitlint/usr/bin/gitlint > debian/gitlint/usr/share/man/man1/gitlint.1 + + # removing unused files rm -rf debian/gitlint/usr/lib/python*/dist-packages/qa execute_after_dh_fixperms: |