diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-11-05 07:29:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-02-17 07:03:04 +0000 |
commit | 6752d5bb37b13301a108d32a07cecea24776d592 (patch) | |
tree | e8a3acd27462fc4b0a864f5d001c55688138f6b8 | |
parent | Removing explicit debug package in favour of automated debug packages. (diff) | |
download | lzd-6752d5bb37b13301a108d32a07cecea24776d592.tar.xz lzd-6752d5bb37b13301a108d32a07cecea24776d592.zip |
Creating lzd manpage with help2man.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/control b/debian/control index 64a6544..2fb97d2 100644 --- a/debian/control +++ b/debian/control @@ -4,6 +4,7 @@ Priority: optional Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> Build-Depends: debhelper (>= 10), + help2man, Rules-Requires-Root: no Standards-Version: 4.1.1 Homepage: http://www.nongnu.org/lzip/lzd.html diff --git a/debian/rules b/debian/rules index 52eea59..5c2c93f 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,13 @@ override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd + # manpage + mkdir -p debian/lzd/usr/share/man/man1 + help2man --name 'Educational decompressor for the lzip format.' debian/lzd/usr/bin/lzd > debian/lzd/usr/share/man/man1/lzd.1 + # alternative handling mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.lzd ln -s /usr/bin/lzip.lzd debian/lzd/usr/bin/lzd + + mv debian/lzd/usr/share/man/man1/lzd.1 debian/lzd/usr/share/man/man1/lzip.lzd.1 + ln -s /usr/share/man/man1/lzip.lzd.1.gz debian/lzd/usr/share/man/man1/lzd.1.gz |