bookmenu
bookmenu copied to clipboard
Add Makefile
Use a Makefile. Remove install script.
The ?=
syntax is non-POSIX, why not just PREFIX=/usr/local
? That way you still could change the prefix on the command line via make PREFIX=/usr
.
Also, the install
and uninstall
targets should be phony targets and I’d put a POSIX:
at the beginning, which guarantees POSIX Makefiles to work in POSIX compliant make(1) implementations.
make(1) is designed to print out all the commands, so why mute them?
ok!
i'm not using PREFIX=/usr/local
because /usr/...
is hardcoded in the script.