Makefile: changes test usage
This commit is contained in:
parent
4aeba9d13f
commit
18aac06113
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ PREFIX ?= /usr/local
|
|||||||
|
|
||||||
# normalized prefix
|
# normalized prefix
|
||||||
PREFIX_N != dirname $(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'
|
|| printf '/share/man\n'
|
||||||
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | tr ' ' '\n' \
|
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | tr ' ' '\n' \
|
||||||
| sed -n 's/sysexits\.h//p' || printf 'include\n'
|
| sed -n 's/sysexits\.h//p' || printf 'include\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user