Makefile: changes test usage

This commit is contained in:
Emma Tebibyte 2024-08-01 00:06:39 -06:00
parent 4aeba9d13f
commit 18aac06113
Signed by untrusted user: emma
GPG Key ID: 06FA419A1698C270

View File

@ -18,7 +18,7 @@ PREFIX ?= /usr/local
# normalized prefix
PREFIX_N != dirname $(PREFIX)/.
MANDIR != [ $(PREFIX_N) = / ] && printf '/usr/share/man\n' \
MANDIR != test $(PREFIX_N) -eq / && printf '/usr/share/man\n' \
|| printf '/share/man\n'
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | tr ' ' '\n' \
| sed -n 's/sysexits\.h//p' || printf 'include\n'