Makefile: fixes portability issue
This commit is contained in:
parent
e38ea5b35d
commit
984c1c1f9a
2
Makefile
2
Makefile
@ -21,7 +21,7 @@ PREFIX_N != (test -d $(PREFIX) && [ '-' != $(PREFIX) ] \
|
|||||||
&& CDPATH= cd -P -- $(PREFIX) && pwd -P)
|
&& CDPATH= cd -P -- $(PREFIX) && pwd -P)
|
||||||
MANDIR != [ $(PREFIX_N) = / ] && printf '/usr/share/man\n' \
|
MANDIR != [ $(PREFIX_N) = / ] && printf '/usr/share/man\n' \
|
||||||
|| printf '/share/man\n'
|
|| printf '/share/man\n'
|
||||||
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | sed 's/ /\n/g' \
|
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'
|
||||||
|
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
|
Loading…
Reference in New Issue
Block a user