From 18aac061131eb4d13be497c97330865898f6cd68 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 1 Aug 2024 00:06:39 -0600 Subject: [PATCH] Makefile: changes test usage --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 418b564..fd15366 100644 --- a/Makefile +++ b/Makefile @@ -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 \n' | cpp -M - | tr ' ' '\n' \ | sed -n 's/sysexits\.h//p' || printf 'include\n'