summaryrefslogtreecommitdiff
path: root/irfanview/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-06-18 10:45:55 -0400
committerB Stack <bgstack15@gmail.com>2020-06-18 10:45:55 -0400
commitd7cc73b388a62d805dfdb9e61e09803d7aeb6d5d (patch)
treee410e3264d75bf40b982486ee4bf592ddb5694f9 /irfanview/debian/rules
parentirfanview: improve filename handling (diff)
downloadstackrpms-d7cc73b388a62d805dfdb9e61e09803d7aeb6d5d.tar.gz
stackrpms-d7cc73b388a62d805dfdb9e61e09803d7aeb6d5d.tar.bz2
stackrpms-d7cc73b388a62d805dfdb9e61e09803d7aeb6d5d.zip
irfanview dpkg: add help docs
This includes man pages, and suggests: xchm. Also suppress some lintian warnings.
Diffstat (limited to 'irfanview/debian/rules')
-rwxr-xr-xirfanview/debian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/irfanview/debian/rules b/irfanview/debian/rules
index c05c160..32f82d8 100755
--- a/irfanview/debian/rules
+++ b/irfanview/debian/rules
@@ -7,6 +7,7 @@
export _prefix=/usr
export _datadir="${_prefix}/share"
+export _mandir="${_datadir}/man"
export appname=irfanview
export appname_32=irfanview-bin32
export appname_64=irfanview-bin64
@@ -53,6 +54,11 @@ override_dh_auto_install:
cp -p irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/scalable/apps/${appname}.svg
rm -f ./irfanview-circle.svg || :
+ @# man pages
+ mkdir -p ${buildroot_32}/${_mandir}/man1 ${buildroot_64}/${_mandir}/man1
+ txt2man-wrapper - < ${debuilddir}/irfanview32.1.txt | gzip > ${buildroot_32}/${_mandir}/man1/irfanview32.1.gz
+ txt2man-wrapper - < ${debuilddir}/irfanview64.1.txt | gzip > ${buildroot_64}/${_mandir}/man1/irfanview64.1.gz
+
override_dh_auto_clean:
dh_auto_clean
rm -rf ./irfanview-circle.svg || :
bgstack15