Dropping using help2man.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5b6e50042e
commit
db748e8f27
3 changed files with 3 additions and 14 deletions
1
debian/control
vendored
1
debian/control
vendored
|
@ -4,7 +4,6 @@ Priority: optional
|
||||||
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
help2man,
|
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Standards-Version: 4.5.0
|
Standards-Version: 4.5.0
|
||||||
Homepage: http://www.nongnu.org/lzip/lzd.html
|
Homepage: http://www.nongnu.org/lzip/lzd.html
|
||||||
|
|
9
debian/lzd.postinst
vendored
9
debian/lzd.postinst
vendored
|
@ -6,18 +6,15 @@ case "${1}" in
|
||||||
configure)
|
configure)
|
||||||
# lzip-alternative
|
# lzip-alternative
|
||||||
update-alternatives --quiet \
|
update-alternatives --quiet \
|
||||||
--install /usr/bin/lzip lzip /usr/bin/lzip.lzd -2000 \
|
--install /usr/bin/lzip lzip /usr/bin/lzip.lzd -2000
|
||||||
--slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.lzd.1.gz
|
|
||||||
|
|
||||||
# lzip-compressor
|
# lzip-compressor
|
||||||
update-alternatives --quiet \
|
update-alternatives --quiet \
|
||||||
--install /usr/bin/lzip-compressor lzip-compressor /usr/bin/lzip.lzd -2000 \
|
--install /usr/bin/lzip-compressor lzip-compressor /usr/bin/lzip.lzd -2000
|
||||||
--slave /usr/share/man/man1/lzip-compressor.1.gz lzip-compressor.1.gz /usr/share/man/man1/lzip.lzd.1.gz
|
|
||||||
|
|
||||||
# lzip-decompressor
|
# lzip-decompressor
|
||||||
update-alternatives --quiet \
|
update-alternatives --quiet \
|
||||||
--install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.lzd -2000 \
|
--install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.lzd -2000
|
||||||
--slave /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.lzd.1.gz
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
abort-upgrade|abort-remove|abort-deconfigure)
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||||||
|
|
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -7,13 +7,6 @@ override_dh_auto_install:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
||||||
|
|
||||||
execute_after_dh_auto_install:
|
execute_after_dh_auto_install:
|
||||||
# man
|
|
||||||
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
|
|
||||||
|
|
||||||
# update-alternatives
|
# update-alternatives
|
||||||
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