Because the install path is currently hardcoded in z.sh, hardcode it in the Makefile too.
11 lines
219 B
Makefile
11 lines
219 B
Makefile
all:
|
|
cc -Wall -Wextra -pedantic -o _z_prompt_command z_prompt_command.c
|
|
|
|
install: _z_prompt_command
|
|
install -m 0755 _z_prompt_command /usr/local/bin
|
|
|
|
readme:
|
|
@groff -man -Tascii z.1 | col -bx
|
|
|
|
.PHONY: install readme
|