zless: install only on platforms with 'less'
commit2fa0edbe051634f33687572c68fefc150ca3d499
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Mar 2022 22:57:10 +0000 (31 15:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Mar 2022 23:01:29 +0000 (31 16:01 -0700)
tree7878bdeaf75c138fec3de4cd5a83cb60837fef7d
parent33d3bcd92426d9bd27e3bb9dfd4e000176077540
zless: install only on platforms with 'less'

Problem reported by Michael Felt (Bug#30029).
* Makefile.am (ZLESS_MAN, ZLESS_PROG): New macros.
(man_MANS, bin_SCRIPTS): Use them.
* configure.ac: Check for 'less'.
* tests/Makefile.am (ZLESS_PROG): New macro.
(built_programs): Use it.
Makefile.am
NEWS
configure.ac
tests/Makefile.am