diff options
author | B Stack <bgstack15@gmail.com> | 2020-06-26 20:01:27 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-06-26 20:01:27 +0000 |
commit | a98ec866efccba579ad13f0fa49f7ad09ec7dc9d (patch) | |
tree | 8c83e4b51b28c897d01e83c02efe58150fc0a35c /irfanview/debian/rules | |
parent | Merge branch 'notepadpp-bump' into 'master' (diff) | |
parent | add txt2man build-dep (diff) | |
download | stackrpms-a98ec866efccba579ad13f0fa49f7ad09ec7dc9d.tar.gz stackrpms-a98ec866efccba579ad13f0fa49f7ad09ec7dc9d.tar.bz2 stackrpms-a98ec866efccba579ad13f0fa49f7ad09ec7dc9d.zip |
Merge branch 'irfanview-bump' into 'master'
fix irfanview invocation
Closes #21
See merge request bgstack15/stackrpms!163
Diffstat (limited to 'irfanview/debian/rules')
-rwxr-xr-x | irfanview/debian/rules | 6 |
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 || : |