Creating lzd manpage with help2man.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4ada649f32
commit
94bd4563c1
2 changed files with 8 additions and 0 deletions
1
debian/control
vendored
1
debian/control
vendored
|
@ -4,6 +4,7 @@ Priority: optional
|
||||||
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper (>= 10),
|
debhelper (>= 10),
|
||||||
|
help2man,
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Standards-Version: 4.1.1
|
Standards-Version: 4.1.1
|
||||||
Homepage: http://www.nongnu.org/lzip/lzd.html
|
Homepage: http://www.nongnu.org/lzip/lzd.html
|
||||||
|
|
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -6,6 +6,13 @@
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
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
|
# alternative handling
|
||||||
mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.lzd
|
mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.lzd
|
||||||
ln -s /usr/bin/lzip.lzd debian/lzd/usr/bin/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
|
||||||
|
|
Loading…
Add table
Reference in a new issue