WIP: Generate Rust sysexits bindings without bindgen #129
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ PREFIX ?= /usr/local
|
||||||
|
|
||||||
MANDIR != [ $(PREFIX) = / ] && printf '/usr/share/man\n' \
|
MANDIR != [ $(PREFIX) = / ] && printf '/usr/share/man\n' \
|
||||||
|| printf '/share/man\n'
|
|| printf '/share/man\n'
|
||||||
SYSEXITS != </dev/null cpp -M -include sysexits.h - | tr ' ' '\n' \
|
SYSEXITS != cpp -M -include sysexits.h /dev/null | 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